diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-05-20 11:00:26 +0300 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2011-05-31 12:27:39 +0200 |
commit | 15c5a3c56e70c96e5b91fa5a6d9fadb42d87b9ef (patch) | |
tree | 349f43d4afd7a6694920147782529897e4bbdc38 | |
parent | e46599a115f82ddbd6b43c595d883ea367aa1da7 (diff) |
Add sanity check before dereference, bnc#694119
Signed-off-by: Petr Mladek <pmladek@suse.cz>
-rw-r--r-- | sd/source/filter/eppt/pptx-epptbase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/eppt/pptx-epptbase.cxx b/sd/source/filter/eppt/pptx-epptbase.cxx index 0556dd7c5..864f4caaf 100644 --- a/sd/source/filter/eppt/pptx-epptbase.cxx +++ b/sd/source/filter/eppt/pptx-epptbase.cxx @@ -165,7 +165,7 @@ PPTWriterBase::PPTWriterBase( const Reference< XModel > & rXModel, PPTWriterBase::~PPTWriterBase() { - if ( mbStatusIndicator ) + if ( mbStatusIndicator && mXStatusIndicator.is() )) mXStatusIndicator->end(); } |