summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-05-06 21:13:53 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-05-07 09:26:49 +0200
commitbef8fa40e192547457563e2296af531d63031a6f (patch)
treee6be531148ae89fcd8088d6663161fe6fe07de1d /sw
parent6e31ddbe83115dd5283c5b0f31d92396290895ae (diff)
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@collabora.com>
Diffstat (limited to 'sw')
-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 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;