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

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Thu May 7 07:27:26 UTC 2020


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

New commits:
commit bef8fa40e192547457563e2296af531d63031a6f
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Wed May 6 21:13:53 2020 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Thu May 7 09:26:49 2020 +0200

    sw: handle UnbreakableNumberings when replacing compat options
    
    This was added in commit 74b6759ee81c95ae75046dd411d2bd0bd2324a8b
    (n#707157: Word doesn't break the numberings and prefers hiding them,
    2011-11-10), it's off by default and on for MSO documents.
    
    Change-Id: Ie8add246816fba7077f01b9eaedc2dfda953fb1b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93589
    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 bbc2f0781387..a4776f91d7e1 100644
--- a/sw/source/core/doc/DocumentSettingManager.cxx
+++ b/sw/source/core/doc/DocumentSettingManager.cxx
@@ -619,7 +619,7 @@ void sw::DocumentSettingManager::ReplaceCompatibilityOptions(const DocumentSetti
     mbTabAtLeftIndentForParagraphsInList = rSource.mbTabAtLeftIndentForParagraphsInList;
     // No mbSmallCapsPercentage66
     // No mbTabOverflow
-    // No mbUnbreakableNumberings
+    mbUnbreakableNumberings = rSource.mbUnbreakableNumberings;
     // No mbClippedPictures
     // No mbBackgroundParaOverDrawings
     mbTabOverMargin = rSource.mbTabOverMargin;


More information about the Libreoffice-commits mailing list