diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-15 11:33:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-15 12:30:39 +0200 |
commit | b116ca617e120d3aaff739ebd5ac0b9c65fd699b (patch) | |
tree | 0c981613fb699cfe7dbcccc4331a639ee32c895e /sc/source/filter/inc/formulabase.hxx | |
parent | 04004cc25905de47bb8406cb99be8fb34dd6f633 (diff) |
convert FormulaType to scoped enum
and drop unused FORMULATYPE_DEFINEDNAME enumerator
Change-Id: Iaa2094346a52b9f34e71708ba4b6efe5a1809ad4
Diffstat (limited to 'sc/source/filter/inc/formulabase.hxx')
-rw-r--r-- | sc/source/filter/inc/formulabase.hxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sc/source/filter/inc/formulabase.hxx b/sc/source/filter/inc/formulabase.hxx index a1924226d50b..21716615b25a 100644 --- a/sc/source/filter/inc/formulabase.hxx +++ b/sc/source/filter/inc/formulabase.hxx @@ -210,14 +210,13 @@ const sal_uInt16 BIFF_FUNC_WEEKNUM = 465; /// Function identif // Formula type =============================================================== /** Enumerates all possible types of a formula. */ -enum FormulaType +enum class FormulaType { - FORMULATYPE_CELL, /// Simple cell formula, or reference to a shared formula name. - FORMULATYPE_ARRAY, /// Array (matrix) formula. - FORMULATYPE_SHAREDFORMULA, /// Shared formula definition. - FORMULATYPE_CONDFORMAT, /// Condition of a conditional format rule. - FORMULATYPE_VALIDATION, /// Condition of a data validation. - FORMULATYPE_DEFINEDNAME /// Definition of a defined name. + Cell, /// Simple cell formula, or reference to a shared formula name. + Array, /// Array (matrix) formula. + SharedFormula, /// Shared formula definition. + CondFormat, /// Condition of a conditional format rule. + Validation /// Condition of a data validation. }; // Reference helpers ========================================================== |