summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/FormulaCompiler.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/formula/FormulaCompiler.hxx b/include/formula/FormulaCompiler.hxx
index 96d945f220b7..f9ab53a78352 100644
--- a/include/formula/FormulaCompiler.hxx
+++ b/include/formula/FormulaCompiler.hxx
@@ -266,11 +266,10 @@ public:
than RESOURCE_BASE may override the resource strings. Used by OpCodeList
implementation via loadSymbols().
*/
- enum SeparatorType
+ enum class SeparatorType
{
RESOURCE_BASE,
- SEMICOLON_BASE,
- COMMA_BASE
+ SEMICOLON_BASE
};
protected:
@@ -359,7 +358,7 @@ private:
void InitSymbolsOOXML() const; /// only SymbolsOOXML, on demand
void loadSymbols( sal_uInt16 nSymbols, FormulaGrammar::Grammar eGrammar, NonConstOpCodeMapPtr& rxMap,
- SeparatorType eSepType = SEMICOLON_BASE ) const;
+ SeparatorType eSepType = SeparatorType::SEMICOLON_BASE ) const;
/** Check pCurrentFactorToken for nParam's (0-based) ForceArray types and
set ForceArray at rCurr if so. Set nParam+1 as 1-based