[Libreoffice-commits] core.git: sw/source

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 16 09:27:47 UTC 2020


 sw/source/uibase/app/docsh.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 1289ef10406e00d0fc9abc5bca444d026ab21743
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Wed Apr 15 12:23:56 2020 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Thu Apr 16 11:27:12 2020 +0200

    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 at cib.de>

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 );


More information about the Libreoffice-commits mailing list