diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:02:31 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:02:31 +0100 |
commit | d9d92d20fdc414c5956290c10c4d473dcb836ceb (patch) | |
tree | 02c6079b0fbbae106e51dd307202ec2415f3340f /include/svx/chrtitem.hxx | |
parent | More loplugin:cstylecast: sw (diff) | |
download | core-d9d92d20fdc414c5956290c10c4d473dcb836ceb.tar.gz core-d9d92d20fdc414c5956290c10c4d473dcb836ceb.zip |
More loplugin:cstylecast: svx
Change-Id: If370ad12d2885ea9a6348736a3bcab618bc2e6ec
Diffstat (limited to 'include/svx/chrtitem.hxx')
-rw-r--r-- | include/svx/chrtitem.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/chrtitem.hxx b/include/svx/chrtitem.hxx index 71bf9ab2cfc1..d852cd10f0dc 100644 --- a/include/svx/chrtitem.hxx +++ b/include/svx/chrtitem.hxx @@ -38,7 +38,7 @@ enum class SvxChartTextOrder Auto }; -#define CHTXTORDER_COUNT ((sal_uInt16)SvxChartTextOrder::Auto + 1) +#define CHTXTORDER_COUNT (sal_uInt16(SvxChartTextOrder::Auto) + 1) enum class SvxChartKindError { @@ -52,7 +52,7 @@ enum class SvxChartKindError Range }; -#define CHERROR_COUNT ((sal_uInt16)SvxChartKindError::Range + 1) +#define CHERROR_COUNT (sal_uInt16(SvxChartKindError::Range) + 1) enum class SvxChartIndicate { @@ -62,7 +62,7 @@ enum class SvxChartIndicate Down }; -#define CHINDICATE_COUNT ((sal_uInt16)SvxChartIndicate::Down + 1) +#define CHINDICATE_COUNT (sal_uInt16(SvxChartIndicate::Down) + 1) enum class SvxChartRegress { @@ -77,7 +77,7 @@ enum class SvxChartRegress Unknown }; -#define CHREGRESS_COUNT ((sal_uInt16)SvxChartRegress::Unknown + 1) +#define CHREGRESS_COUNT (sal_uInt16(SvxChartRegress::Unknown) + 1) class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxChartRegressItem : public SfxEnumItem<SvxChartRegress> { |