https://bugs.documentfoundation.org/show_bug.cgi?id=163364
--- Comment #7 from Julien Nabet <[email protected]> --- With this patch, it works: diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx index 0ddc0906e02a..38a6f8847961 100644 --- a/package/source/zippackage/ZipPackage.cxx +++ b/package/source/zippackage/ZipPackage.cxx @@ -192,7 +192,7 @@ void ZipPackage::checkZipEntriesWithDD() { uno::Reference<XPropertySet> xStream; getByHierarchicalName(rEntry.sPath) >>= xStream; - if (!xStream->getPropertyValue("WasEncrypted").get<bool>()) + if (xStream->getPropertySetInfo() && xStream->getPropertySetInfo()->hasPropertyByName(u"WasEncrypted"_ustr) && !xStream->getPropertyValue("WasEncrypted").get<bool>()) { SAL_INFO("package", "entry STORED with data descriptor but not encrypted: \"" << rEntry.sPath << "\""); throw ZipIOException( but is it the right way to fix this? -- You are receiving this mail because: You are the assignee for the bug.
