summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-06-17 21:06:21 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-06-18 09:09:53 +0200
commite37b8c6ec39d505570113328185ed3e6a017179f (patch)
tree115344c959ee24468ed28b611c5ca75986f93ea9 /sw
parentba33a51ff1eb34a5983870dcb50e975002e6d3a4 (diff)
sw: handle TreatSingleColumnBreakAsPageBreak when replacing compat options
This was added in commit 93d7fc90b57bb08052299c94fa0a28bb8f494a9c (tdf#76349 writer: make 1column-as-page break a compatibility option, 2016-08-30), it's off by default and on for DOCX documents. Change-Id: I60f6d23feb278e8a234f5c571f9b647c2c08c491 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96561 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 797e9024abb2..30be92c69122 100644
--- a/sw/source/core/doc/DocumentSettingManager.cxx
+++ b/sw/source/core/doc/DocumentSettingManager.cxx
@@ -628,7 +628,7 @@ void sw::DocumentSettingManager::ReplaceCompatibilityOptions(const DocumentSetti
// No mbClippedPictures
// No mbBackgroundParaOverDrawings
mbTabOverMargin = rSource.mbTabOverMargin;
- // No mbTreatSingleColumnBreakAsPageBreak
+ mbTreatSingleColumnBreakAsPageBreak = rSource.mbTreatSingleColumnBreakAsPageBreak;
mbSurroundTextWrapSmall = rSource.mbSurroundTextWrapSmall;
mbPropLineSpacingShrinksFirstLine = rSource.mbPropLineSpacingShrinksFirstLine;
mbSubtractFlys = rSource.mbSubtractFlys;