diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-24 14:37:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-25 08:40:00 +0200 |
commit | ce51b64947f120c592853aec2d01542dcd2cc2c0 (patch) | |
tree | 53aec3b9079633403fdf4e74bb5494e984ce4ad6 /include | |
parent | 4c2969b7be7701753386112d477a4b818d834708 (diff) |
convert SvxChartStyle to scoped enum
Change-Id: I007dc799777524ccfabbb1ce52b9495437ff9156
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/chrtitem.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/svx/chrtitem.hxx b/include/svx/chrtitem.hxx index 65ab0ebe3f51..2c97d85d48ad 100644 --- a/include/svx/chrtitem.hxx +++ b/include/svx/chrtitem.hxx @@ -22,14 +22,14 @@ #include <svl/eitem.hxx> #include <svx/svxdllapi.h> -enum SvxChartStyle +enum class SvxChartStyle { - CHSTYLE_2D_LINE, - CHSTYLE_2D_COLUMN, - CHSTYLE_ADDIN + Line2D, + Column2D, + AddIn }; -#define CHSTYLE_COUNT (CHSTYLE_ADDIN + 1) +#define CHSTYLE_COUNT ((sal_uInt16)SvxChartStyle::AddIn + 1) enum class SvxChartTextOrder { @@ -83,7 +83,7 @@ enum class SvxChartRegress class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxChartStyleItem : public SfxEnumItem { public: - SvxChartStyleItem(SvxChartStyle eStyle /*= CHSTYLE_2D_LINE*/, + SvxChartStyleItem(SvxChartStyle eStyle /*= SvxChartStyle::Line2D*/, sal_uInt16 nId ); SvxChartStyleItem(SvStream& rIn, sal_uInt16 nId ); |