summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/pdfparse/pdfentries.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/pdfimport/pdfparse/pdfentries.cxx')
-rw-r--r--sdext/source/pdfimport/pdfparse/pdfentries.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfentries.cxx b/sdext/source/pdfimport/pdfparse/pdfentries.cxx
index ab5f2e813ca7..01e9893f989d 100644
--- a/sdext/source/pdfimport/pdfparse/pdfentries.cxx
+++ b/sdext/source/pdfimport/pdfparse/pdfentries.cxx
@@ -882,8 +882,7 @@ bool PDFObject::emit( EmitContext& rWriteContext ) const
if( pOutBytes != reinterpret_cast<sal_uInt8*>(pStream) )
rtl_freeMemory( pOutBytes );
rtl_freeMemory( pStream );
- if( pEData )
- pEData->setDecryptObject( 0, 0 );
+ pEData->setDecryptObject( 0, 0 );
return bRet;
}
if( pOutBytes != reinterpret_cast<sal_uInt8*>(pStream) )