summaryrefslogtreecommitdiff
path: root/sc/inc/formulaopt.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/formulaopt.hxx')
-rw-r--r--sc/inc/formulaopt.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/formulaopt.hxx b/sc/inc/formulaopt.hxx
index 8a903d22c95e..f6d9e690e9c7 100644
--- a/sc/inc/formulaopt.hxx
+++ b/sc/inc/formulaopt.hxx
@@ -23,6 +23,7 @@ class SC_DLLPUBLIC ScFormulaOptions
{
private:
bool bUseEnglishFuncName; // use English function name even if the locale is not English.
+ bool bUnitValidat;
formula::FormulaGrammar::Grammar eFormulaGrammar; // formula grammar used to switch different formula syntax
ScCalcConfig aCalcConfig;
bool mbWriteCalcConfig;
@@ -53,6 +54,8 @@ public:
void SetWriteCalcConfig( bool bVal ) { mbWriteCalcConfig = bVal; }
bool GetWriteCalcConfig() const { return mbWriteCalcConfig; }
+ void SetUnitValidat( bool bVal ) { bUnitValidat = bVal; }
+ bool GetUnitValidat() const { return bUnitValidat; }
void SetFormulaSepArg(const OUString& rSep) { aFormulaSepArg = rSep; }
OUString GetFormulaSepArg() const { return aFormulaSepArg; }