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 | 67081d291e9e9d2611b684dd16be3c08661ae0c4 (patch) | |
tree | 21e2260653d1fbcd91349f599d5e012ec3a2b080 /sd | |
parent | 5d1299f5ea6d374eccf2f803ea356c62255ed5f5 (diff) |
Add sanity check before dereference, bnc#694119
Signed-off-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'sd')
-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 0556dd7c5d14..864f4caaf4b9 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(); } |