summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-05-29 21:39:15 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-05-30 11:37:20 -0400
commit05a2a99dd7ee9e7bfb2797e33c5ae04e4b6e3686 (patch)
treeaa2e95a069954aa048e8ae5345df18762a3f3b9b
parentUse the new option when interpreting INDIRECT function. (diff)
downloadcore-05a2a99dd7ee9e7bfb2797e33c5ae04e4b6e3686.tar.gz
core-05a2a99dd7ee9e7bfb2797e33c5ae04e4b6e3686.zip
Reset option.
Change-Id: Id800b3590425ddb3cc804dabf842b700dc27db43
-rw-r--r--sc/source/core/tool/formulaopt.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/tool/formulaopt.cxx b/sc/source/core/tool/formulaopt.cxx
index 5b8ec5e9165d..a49899166c20 100644
--- a/sc/source/core/tool/formulaopt.cxx
+++ b/sc/source/core/tool/formulaopt.cxx
@@ -70,6 +70,9 @@ void ScFormulaOptions::SetDefaults()
bUseEnglishFuncName = false;
eFormulaGrammar = ::formula::FormulaGrammar::GRAM_NATIVE;
+ // unspecified means use the current formula syntax.
+ eIndirectFuncRefSyntax = formula::FormulaGrammar::CONV_UNSPECIFIED;
+
ResetFormulaSeparators();
}