From 67081d291e9e9d2611b684dd16be3c08661ae0c4 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 20 May 2011 11:00:26 +0300 Subject: Add sanity check before dereference, bnc#694119 Signed-off-by: Petr Mladek --- sd/source/filter/eppt/pptx-epptbase.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd') 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(); } -- cgit