[Libreoffice-commits] .: Branch 'feature/improvexlsximport' - sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Dec 11 07:32:26 PST 2012


 sc/source/core/tool/formulaopt.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0b5f71e931ab0dfa7da66c508d699769eb955b8e
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date:   Tue Dec 11 10:33:01 2012 -0500

    Change the default formula syntax to Excel A1 (for this branch only!)
    
    Never merge this into master...
    
    Change-Id: Ia40f4bccaa602cb2542e073f8c60086506216b7f

diff --git a/sc/source/core/tool/formulaopt.cxx b/sc/source/core/tool/formulaopt.cxx
index 739758b..68091d9 100644
--- a/sc/source/core/tool/formulaopt.cxx
+++ b/sc/source/core/tool/formulaopt.cxx
@@ -69,7 +69,7 @@ ScFormulaOptions::~ScFormulaOptions()
 void ScFormulaOptions::SetDefaults()
 {
     bUseEnglishFuncName = false;
-    eFormulaGrammar     = ::formula::FormulaGrammar::GRAM_NATIVE;
+    eFormulaGrammar     = ::formula::FormulaGrammar::GRAM_NATIVE_XL_A1;
 
     // unspecified means use the current formula syntax.
     eStringRefSyntax = formula::FormulaGrammar::CONV_UNSPECIFIED;


More information about the Libreoffice-commits mailing list