summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-09-01 20:38:06 +0200
committerMiklos Vajna <vmiklos@collabora.com>2021-09-02 09:13:18 +0200
commitdcf7ce2bb67620defbfcb2a4e021cb4c92e27178 (patch)
tree40fe83dbdf7895ff0805b6cf9fccd54cdb232378
parentb87c7eb674dfc4ee76fa48af67da6cb13a8d6aa6 (diff)
sw: handle mbPurgeOLE when replacing compat options
This is only read in SwOLEObj::UnloadObject() and the flag was there already with the initial import. It has no UI, so probably it's a compat setting. Change-Id: If776f7f86d2d2ebbc7421855e032c316e8ecacc8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121481 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
-rw-r--r--sw/source/core/doc/DocumentSettingManager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/DocumentSettingManager.cxx b/sw/source/core/doc/DocumentSettingManager.cxx
index 58202ee67d7c..6f215ede3412 100644
--- a/sw/source/core/doc/DocumentSettingManager.cxx
+++ b/sw/source/core/doc/DocumentSettingManager.cxx
@@ -624,7 +624,7 @@ void sw::DocumentSettingManager::ReplaceCompatibilityOptions(const DocumentSetti
// No mbIsGlobalDoc
// No mbGlblDocSaveLinks
// No mbIsLabelDoc
- // No mbPurgeOLE
+ mbPurgeOLE = rSource.mbPurgeOLE;
mbKernAsianPunctuation = rSource.mbKernAsianPunctuation;
mbParaSpaceMax = rSource.mbParaSpaceMax;
mbParaSpaceMaxAtPages = rSource.mbParaSpaceMaxAtPages;