summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/pdfparse/pdfentries.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfentries.cxx b/sdext/source/pdfimport/pdfparse/pdfentries.cxx
index 4cef68866569..6603368ba3fa 100644
--- a/sdext/source/pdfimport/pdfparse/pdfentries.cxx
+++ b/sdext/source/pdfimport/pdfparse/pdfentries.cxx
@@ -666,11 +666,6 @@ bool PDFObject::getDeflatedStream( char** ppStream, unsigned int* pBytes, const
{
unsigned int nOuterStreamLen = m_pStream->m_nEndOffset - m_pStream->m_nBeginOffset;
*ppStream = static_cast<char*>(rtl_allocateMemory( nOuterStreamLen ));
- if( ! ppStream )
- {
- *pBytes = 0;
- return false;
- }
unsigned int nRead = rContext.readOrigBytes( m_pStream->m_nBeginOffset, nOuterStreamLen, *ppStream );
if( nRead != nOuterStreamLen )
{