summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/source/zippackage/ZipPackageStream.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx
index 0b4cf3f5990f..2fbcfdba19ff 100644
--- a/package/source/zippackage/ZipPackageStream.cxx
+++ b/package/source/zippackage/ZipPackageStream.cxx
@@ -816,7 +816,8 @@ bool ZipPackageStream::saveChild(
}
else
{
- bParallelDeflate = true;
+ // tdf#89236 Encrypting in parallel does not work
+ bParallelDeflate = !bToBeEncrypted;
// Do not deflate small streams in a thread
if (xSeek.is() && xSeek->getLength() < 100000)
bParallelDeflate = false;