diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-24 13:27:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-25 08:40:00 +0200 |
commit | 7db7666f01d81c1c345380ff724356224e9e1db6 (patch) | |
tree | 27fa26341f549ee9b50cd17df4ea90ebe6204b98 /include | |
parent | 9781212b55a3a8afd3e00cd0400725e38babfbdf (diff) |
convert SvxChartKindError to scoped enum
Change-Id: Ibf6798fb1bdb7d16801402798414171876da915d
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/chrtitem.hxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/svx/chrtitem.hxx b/include/svx/chrtitem.hxx index 71310c4b6e6f..db12acc03abb 100644 --- a/include/svx/chrtitem.hxx +++ b/include/svx/chrtitem.hxx @@ -51,19 +51,19 @@ enum SvxChartTextOrder #define CHTXTORIENT_COUNT (CHTXTORIENT_TOPBOTTOM + 1) -enum SvxChartKindError +enum class SvxChartKindError { - CHERROR_NONE, - CHERROR_VARIANT, - CHERROR_SIGMA, - CHERROR_PERCENT, - CHERROR_BIGERROR, - CHERROR_CONST, - CHERROR_STDERROR, - CHERROR_RANGE + NONE, + Variant, + Sigma, + Percent, + BigError, + Const, + StdError, + Range }; -#define CHERROR_COUNT (CHERROR_RANGE + 1) +#define CHERROR_COUNT ((sal_uInt16)SvxChartKindError::Range + 1) enum class SvxChartIndicate { @@ -166,7 +166,7 @@ public: class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxChartKindErrorItem : public SfxEnumItem { public: - SvxChartKindErrorItem(SvxChartKindError /*eOrient = CHERROR_NONE*/, + SvxChartKindErrorItem(SvxChartKindError /*eOrient = SvxChartKindError::NONE*/, sal_uInt16 nId ); SvxChartKindErrorItem(SvStream& rIn, sal_uInt16 nId ); |