[Libreoffice-commits] .: Branch 'libreoffice-3-3' - sd/source

Petr Mladek pmladek at kemper.freedesktop.org
Tue May 31 03:26:31 PDT 2011


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

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

    Add sanity check before dereference, bnc#694119
    
    Signed-off-by: Petr Mladek <pmladek at suse.cz>

diff --git a/sd/source/filter/eppt/pptx-epptbase.cxx b/sd/source/filter/eppt/pptx-epptbase.cxx
index 47084b9..0c75e58 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