diff options
Diffstat (limited to 'sdext/source/pdfimport/pdfparse/pdfentries.cxx')
-rw-r--r-- | sdext/source/pdfimport/pdfparse/pdfentries.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfentries.cxx b/sdext/source/pdfimport/pdfparse/pdfentries.cxx index 5fed8e18d102..c5e2c4203d8f 100644 --- a/sdext/source/pdfimport/pdfparse/pdfentries.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfentries.cxx @@ -1285,7 +1285,7 @@ PDFFileImplData* PDFFile::impl_getData() const if( doc_id != pTrailer->m_pDict->m_aMap.end() ) { PDFArray* pArr = dynamic_cast<PDFArray*>(doc_id->second); - if( pArr && pArr->m_aSubElements.size() > 0 ) + if( pArr && !pArr->m_aSubElements.empty() ) { PDFString* pStr = dynamic_cast<PDFString*>(pArr->m_aSubElements[0].get()); if( pStr ) |