summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-05-31 21:41:48 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-05-31 21:43:48 -0400
commite6ef9f128e85961921b0b319087010fce1d59a74 (patch)
treee2aa331905ea64b909e85bb3945bf58f16f72135 /sc/inc
parent02bd365494a59bb9080a4d73eafbde7903bd2cc9 (diff)
Rename this option to make it sound more generic.
There may be other functions other than INDIRECT that take a string reference. If so, we could re-use this option for those functions as well. Change-Id: I1e756298a094aa8197f578cb992904b7af5b2e4d
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/calcconfig.hxx2
-rw-r--r--sc/inc/formulaopt.hxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/calcconfig.hxx b/sc/inc/calcconfig.hxx
index 7dd52ce80880..48d474616799 100644
--- a/sc/inc/calcconfig.hxx
+++ b/sc/inc/calcconfig.hxx
@@ -37,7 +37,7 @@
*/
struct SC_DLLPUBLIC ScCalcConfig
{
- formula::FormulaGrammar::AddressConvention meIndirectRefSyntax;
+ formula::FormulaGrammar::AddressConvention meStringRefAddressSyntax;
ScCalcConfig();
diff --git a/sc/inc/formulaopt.hxx b/sc/inc/formulaopt.hxx
index 8186d8aab6cf..5ca55a3e8905 100644
--- a/sc/inc/formulaopt.hxx
+++ b/sc/inc/formulaopt.hxx
@@ -41,7 +41,7 @@ class SC_DLLPUBLIC ScFormulaOptions
private:
bool bUseEnglishFuncName; // use English function name even if the locale is not English.
formula::FormulaGrammar::Grammar eFormulaGrammar; // formula grammar used to switch different formula syntax
- formula::FormulaGrammar::AddressConvention eIndirectFuncRefSyntax;
+ formula::FormulaGrammar::AddressConvention eStringRefSyntax;
::rtl::OUString aFormulaSepArg;
::rtl::OUString aFormulaSepArrayRow;
@@ -57,8 +57,8 @@ public:
void SetFormulaSyntax( ::formula::FormulaGrammar::Grammar eGram ) { eFormulaGrammar = eGram; }
::formula::FormulaGrammar::Grammar GetFormulaSyntax() const { return eFormulaGrammar; }
- void SetIndirectFuncSyntax(formula::FormulaGrammar::AddressConvention eConv) { eIndirectFuncRefSyntax = eConv; }
- formula::FormulaGrammar::AddressConvention GetIndirectFuncSyntax() const { return eIndirectFuncRefSyntax; }
+ void SetStringRefAddressSyntax(formula::FormulaGrammar::AddressConvention eConv) { eStringRefSyntax = eConv; }
+ formula::FormulaGrammar::AddressConvention GetStringRefAddressSyntax() const { return eStringRefSyntax; }
void SetUseEnglishFuncName( bool bVal ) { bUseEnglishFuncName = bVal; }
bool GetUseEnglishFuncName() const { return bUseEnglishFuncName; }