diff options
author | Vitaliy Anderson <vanderson@smartru.com> | 2017-01-13 08:37:39 -0800 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2017-01-18 08:47:22 +0000 |
commit | fb4943338317c8f24b143d7d1f0b8f2069af1577 (patch) | |
tree | 5b5bb0df8f8fa88f15832b9e149191e477bfba59 /sw/source/core/doc/DocumentSettingManager.cxx | |
parent | c8bdf901efd034f24bacf5e2d617a00bb1692238 (diff) |
tdf#104349, tdf#104668 MS Word compatibility trailing blanks option part 2
Create the option in Tools->Options->LibreOffice Writer->Compatibility
Change-Id: I7c766138db9210d3e7a97eea48b9265ee9762199
Reviewed-on: https://gerrit.libreoffice.org/33148
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw/source/core/doc/DocumentSettingManager.cxx')
-rw-r--r-- | sw/source/core/doc/DocumentSettingManager.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/core/doc/DocumentSettingManager.cxx b/sw/source/core/doc/DocumentSettingManager.cxx index f0066826b810..64644c53241c 100644 --- a/sw/source/core/doc/DocumentSettingManager.cxx +++ b/sw/source/core/doc/DocumentSettingManager.cxx @@ -109,8 +109,8 @@ sw::DocumentSettingManager::DocumentSettingManager(SwDoc &rDoc) mbUseFormerObjectPos = aOptions.IsUseObjectPositioning(); mbUseFormerTextWrapping = aOptions.IsUseOurTextWrapping(); mbConsiderWrapOnObjPos = aOptions.IsConsiderWrappingStyle(); - - mbDoNotJustifyLinesWithManualBreak = !aOptions.IsExpandWordSpace(); + mbDoNotJustifyLinesWithManualBreak = !aOptions.IsExpandWordSpace(); + mbMsWordCompTrailingBlanks = aOptions.IsMsWordCompTrailingBlanks(); } else { @@ -125,6 +125,7 @@ sw::DocumentSettingManager::DocumentSettingManager(SwDoc &rDoc) mbUseFormerTextWrapping = false; mbConsiderWrapOnObjPos = false; mbDoNotJustifyLinesWithManualBreak = true; + mbMsWordCompTrailingBlanks = false; } // COMPATIBILITY FLAGS END |