diff options
Diffstat (limited to 'oox/source/core/filterdetect.cxx')
-rw-r--r-- | oox/source/core/filterdetect.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/core/filterdetect.cxx b/oox/source/core/filterdetect.cxx index 59a4f605ab5c..c5ea4b385849 100644 --- a/oox/source/core/filterdetect.cxx +++ b/oox/source/core/filterdetect.cxx @@ -321,7 +321,7 @@ Reference< XInputStream > FilterDetect::extractUnencryptedPackage( MediaDescript comphelper::DocPasswordRequestType::MS, &aDefaultPasswords ); - if( aEncryptionData.getLength() == 0 ) + if( !aEncryptionData.hasElements() ) { rMediaDescriptor[ MediaDescriptor::PROP_ABORTED() ] <<= true; } |