diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-12-14 11:51:42 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-12-14 14:10:55 +0100 |
commit | 27632654feda626131196c996e3f815f3602d248 (patch) | |
tree | fb8f6350d34acb7d2eded38ed992a6c8ed502f11 /oox | |
parent | 806ee5b22413ae3cc5d65687adf0a879c8e24ded (diff) |
tdf#76115: pass RepairPackage property from media descriptor to ZipStorage
See commit 86c682273d907c77404637c89e584047de1c1099.
Change-Id: I51a3beb00f635554ac73cc9ea957e18fb8e84349
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160757
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/core/xmlfilterbase.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx index 93b5816812a1..2c0cfa9732eb 100644 --- a/oox/source/core/xmlfilterbase.cxx +++ b/oox/source/core/xmlfilterbase.cxx @@ -1014,7 +1014,9 @@ bool XmlFilterBase::implFinalizeExport( MediaDescriptor& rMediaDescriptor ) StorageRef XmlFilterBase::implCreateStorage( const Reference< XInputStream >& rxInStream ) const { - return std::make_shared<ZipStorage>( getComponentContext(), rxInStream ); + return std::make_shared<ZipStorage>( + getComponentContext(), rxInStream, + getMediaDescriptor().getUnpackedValueOrDefault("RepairPackage", false)); } StorageRef XmlFilterBase::implCreateStorage( const Reference< XStream >& rxOutStream ) const |