diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2020-04-15 12:23:56 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-04-16 11:27:12 +0200 |
commit | 1289ef10406e00d0fc9abc5bca444d026ab21743 (patch) | |
tree | 5559771e7c553b85d9888da12891260e8ff269c4 /sw | |
parent | f57962fe9a282a3acd0c824e283316b38fe7a130 (diff) |
Enable trailing-blanks compat option also for OOXML filter
Change-Id: I6d338f881f1450be87bedf9ab9aaf24eeed2052d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92257
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/app/docsh.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/app/docsh.cxx b/sw/source/uibase/app/docsh.cxx index 5ccae0801946..ad31952acc8c 100644 --- a/sw/source/uibase/app/docsh.cxx +++ b/sw/source/uibase/app/docsh.cxx @@ -1186,6 +1186,8 @@ void SwDocShell::SetFormatSpecificCompatibilityOptions( const OUString& rFilterT rFilterTypeName == "writer_MS_Word_2003_XML" || rFilterTypeName == "writer_MS_Word_2007" || rFilterTypeName == "writer_MS_Word_2007_Template" || + rFilterTypeName == "writer_OOXML" || + rFilterTypeName == "writer_OOXML_Text_Template" || rFilterTypeName == "writer_Rich_Text_Format" ) { GetDoc()->getIDocumentSettingAccess().set( DocumentSettingId::MS_WORD_COMP_TRAILING_BLANKS, true ); |