summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/xml/xmlgrhlp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx
index b45954fdbd0d..ca23ea3dc7a2 100644
--- a/svx/source/xml/xmlgrhlp.cxx
+++ b/svx/source/xml/xmlgrhlp.cxx
@@ -331,7 +331,7 @@ Graphic SvXMLGraphicOutputStream::GetGraphic()
mpOStm->Seek( 0 );
aZCodec.Decompress( *mpOStm, *pDest );
- if (aZCodec.EndCompression() && pDest )
+ if (aZCodec.EndCompression())
{
sal_uIntPtr nStreamLen_ = pDest->TellEnd();
if (nStreamLen_)