diff options
Diffstat (limited to 'oox/source/helper/zipstorage.cxx')
-rw-r--r-- | oox/source/helper/zipstorage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/helper/zipstorage.cxx b/oox/source/helper/zipstorage.cxx index 067365199575..c0d454d14e19 100644 --- a/oox/source/helper/zipstorage.cxx +++ b/oox/source/helper/zipstorage.cxx @@ -58,7 +58,7 @@ ZipStorage::ZipStorage( const Reference< XComponentContext >& rxContext, const R implementation of relations handling. */ mxStorage = ::comphelper::OStorageHelper::GetStorageOfFormatFromInputStream( - ZIP_STORAGE_FORMAT_STRING, rxInStream, rxContext ); + ZIP_STORAGE_FORMAT_STRING, rxInStream, rxContext, false, true); } catch (Exception const& e) { @@ -76,7 +76,7 @@ ZipStorage::ZipStorage( const Reference< XComponentContext >& rxContext, const R { const sal_Int32 nOpenMode = ElementModes::READWRITE | ElementModes::TRUNCATE; mxStorage = ::comphelper::OStorageHelper::GetStorageOfFormatFromStream( - OFOPXML_STORAGE_FORMAT_STRING, rxStream, nOpenMode, rxContext, true ); + OFOPXML_STORAGE_FORMAT_STRING, rxStream, nOpenMode, rxContext, true, true); } catch (Exception const& e) { |