[Libreoffice-commits] .: sd/source

Tor Lillqvist tml at kemper.freedesktop.org
Fri May 20 01:03:32 PDT 2011


 sd/source/filter/eppt/pptx-epptbase.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b355d04a10c64d1edf1027c385f49d4c71e0048d
Author: Tor Lillqvist <tlillqvist at novell.com>
Date:   Fri May 20 11:00:26 2011 +0300

    Add sanity check before dereference, bnc#694119

diff --git a/sd/source/filter/eppt/pptx-epptbase.cxx b/sd/source/filter/eppt/pptx-epptbase.cxx
index abdb053..5e754e0 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();
 }
 


More information about the Libreoffice-commits mailing list