sw: handle InvertBorderSpacing when replacing compat options

This was added in commit de0866b507
(sw-invert-border-spacing.diff:, 2010-09-14), it's off by default and is
on for Word documents.

Change-Id: Idf1999dbe9e641259e09eaafbebd347199cd5db4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117015
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
This commit is contained in:
Miklos Vajna 2021-06-10 21:02:27 +02:00
parent 794eda0213
commit 2f6f533b76

View file

@ -656,7 +656,7 @@ void sw::DocumentSettingManager::ReplaceCompatibilityOptions(const DocumentSetti
// No mbProtectForm
mbMsWordCompTrailingBlanks = rSource.mbMsWordCompTrailingBlanks;
mbMsWordCompMinLineHeightByFly = rSource.mbMsWordCompMinLineHeightByFly;
// No mbInvertBorderSpacing
mbInvertBorderSpacing = rSource.mbInvertBorderSpacing;
mbCollapseEmptyCellPara = rSource.mbCollapseEmptyCellPara;
mbTabAtLeftIndentForParagraphsInList = rSource.mbTabAtLeftIndentForParagraphsInList;
mbSmallCapsPercentage66 = rSource.mbSmallCapsPercentage66;