diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-11 15:19:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-12 08:44:50 +0200 |
commit | b5e352e5117fffaca8cfddde426079708a208258 (patch) | |
tree | 986adbc7bb1afd2ea0c3b2e1755e1f3cd751b1c1 /sc/inc/formularesult.hxx | |
parent | 8aa1abe5afc52375d038710c4e7c68e97fd04fc6 (diff) |
convert MULTILINE constants to scoped enum
Change-Id: I1928fa3ca6e9d62719b9e4ca4649ec9fad9633a8
Diffstat (limited to 'sc/inc/formularesult.hxx')
-rw-r--r-- | sc/inc/formularesult.hxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sc/inc/formularesult.hxx b/sc/inc/formularesult.hxx index 0a977dcf043a..40b7925e2c2b 100644 --- a/sc/inc/formularesult.hxx +++ b/sc/inc/formularesult.hxx @@ -47,11 +47,9 @@ struct FormulaResultValue and memory consumption. */ class ScFormulaResult { - typedef unsigned char Multiline; - static const Multiline MULTILINE_UNKNOWN = 0; - static const Multiline MULTILINE_FALSE = 1; - static const Multiline MULTILINE_TRUE = 2; - + enum class Multiline : sal_uInt8 { + Unknown, False, True + }; // Clone token if the 16-bit only reference counter is nearing it's // capacity during fill or copy&paste, leaving 4k for temporary passing // around. (That should be enough for all times (TM) ;-) |