[Libreoffice-commits] core.git: sw/source

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Thu Sep 2 07:13:53 UTC 2021


 sw/source/core/doc/DocumentSettingManager.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit dcf7ce2bb67620defbfcb2a4e021cb4c92e27178
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Wed Sep 1 20:38:06 2021 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Thu Sep 2 09:13:18 2021 +0200

    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 at collabora.com>

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;


More information about the Libreoffice-commits mailing list