[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sd/source
Petr Mladek
pmladek at kemper.freedesktop.org
Tue May 31 03:28:01 PDT 2011
sd/source/filter/eppt/pptx-epptbase.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 15c5a3c56e70c96e5b91fa5a6d9fadb42d87b9ef
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 0556dd7..864f4ca 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