diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-17 10:25:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-17 10:09:50 +0000 |
commit | 06f0d2d9f1ff0f6a8d1eddc693e4c4f65ec2b046 (patch) | |
tree | c2ab6a55156f972d721b3362dc4219bb4f639bba /include/formula/FormulaCompiler.hxx | |
parent | dc003d59ea81d39bccc88f47b0a0d6c12f82357d (diff) |
convert FormulaCompiler::SeparatorType to scoped enum
and drop unused COMMA_BASE enumerator
Change-Id: I5f35ba7453d5ca613ebd65d0853c7caaa210f3de
Reviewed-on: https://gerrit.libreoffice.org/34357
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/formula/FormulaCompiler.hxx')
-rw-r--r-- | include/formula/FormulaCompiler.hxx | 7 |
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 |