[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Oct 19 18:59:18 UTC 2018


 sc/source/filter/oox/workbookhelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1121ee14d673955d7ebdaec296680ef7b4f062d3
Author:     Aron Budea <aron.budea at collabora.com>
AuthorDate: Fri Oct 19 20:56:35 2018 +0200
Commit:     Aron Budea <aron.budea at collabora.com>
CommitDate: Fri Oct 19 20:56:35 2018 +0200

    [cp] Add another known good generator.
    
    Change-Id: I05a9aff0d1bddf0efd2491f09fe0fbf7144e8b4d

diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx
index b3480d51f6bf..2a24577627ac 100644
--- a/sc/source/filter/oox/workbookhelper.cxx
+++ b/sc/source/filter/oox/workbookhelper.cxx
@@ -542,7 +542,7 @@ void WorkbookGlobals::initialize()
         aCalcConfig.SetStringRefSyntax( formula::FormulaGrammar::CONV_XL_A1 ) ;
         mpDoc->SetCalcConfig(aCalcConfig);
     }
-    else if (aGenerator.startsWithIgnoreAsciiCase("LibreOffice"))
+    else if (aGenerator.startsWithIgnoreAsciiCase("LibreOffice") || aGenerator.startsWithIgnoreAsciiCase("Collabora"))
     {
         mbGeneratorKnownGood = true;
     }


More information about the Libreoffice-commits mailing list