summaryrefslogtreecommitdiff
path: root/oox/source/ole/axbinaryreader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/ole/axbinaryreader.cxx')
-rw-r--r--oox/source/ole/axbinaryreader.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/ole/axbinaryreader.cxx b/oox/source/ole/axbinaryreader.cxx
index e478677f9aeb..cbd7051637a5 100644
--- a/oox/source/ole/axbinaryreader.cxx
+++ b/oox/source/ole/axbinaryreader.cxx
@@ -247,7 +247,7 @@ bool AxBinaryPropertyReader::finalizeImport()
{
// read large properties
maInStrm.align( 4 );
- if( ensureValid( mnPropFlags == 0 ) && !maLargeProps.empty() )
+ if( ensureValid( mnPropFlags == 0 ) )
{
for (auto const& largeProp : maLargeProps)
{
@@ -260,7 +260,7 @@ bool AxBinaryPropertyReader::finalizeImport()
maInStrm.seek( mnPropsEnd );
// read stream properties (no stream alignment between properties!)
- if( ensureValid() && !maStreamProps.empty() )
+ if( ensureValid() )
{
for (auto const& streamProp : maStreamProps)
{