diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-08 08:58:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-08 09:07:34 +0000 |
commit | 1f4e0359d3cee2780944f64025a63c208720c74d (patch) | |
tree | f99934a01892ede88b5213655de481919e5edfab /include/editeng | |
parent | 9cacb6ad9f5a012bc892cf9893cd8d37a2a5f304 (diff) |
convert SvxShadowLocation to scoped enum
Change-Id: Ie51995579312328538263172cd3173641df89bca
Reviewed-on: https://gerrit.libreoffice.org/34965
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/shaditem.hxx | 2 | ||||
-rw-r--r-- | include/editeng/svxenum.hxx | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/include/editeng/shaditem.hxx b/include/editeng/shaditem.hxx index 62d5af17d6d7..51d5ecfe86cc 100644 --- a/include/editeng/shaditem.hxx +++ b/include/editeng/shaditem.hxx @@ -43,7 +43,7 @@ public: explicit SvxShadowItem( const sal_uInt16 nId , const Color *pColor = nullptr, const sal_uInt16 nWidth = 100 /*5pt*/, - const SvxShadowLocation eLoc = SVX_SHADOW_NONE ); + const SvxShadowLocation eLoc = SvxShadowLocation::NONE ); inline SvxShadowItem& operator=( const SvxShadowItem& rFmtShadow ); diff --git a/include/editeng/svxenum.hxx b/include/editeng/svxenum.hxx index 1735267a0bf3..cfca47018ea3 100644 --- a/include/editeng/svxenum.hxx +++ b/include/editeng/svxenum.hxx @@ -39,14 +39,14 @@ enum class SvxEscapement End }; -enum SvxShadowLocation +enum class SvxShadowLocation { - SVX_SHADOW_NONE, - SVX_SHADOW_TOPLEFT, - SVX_SHADOW_TOPRIGHT, - SVX_SHADOW_BOTTOMLEFT, - SVX_SHADOW_BOTTOMRIGHT, - SVX_SHADOW_END + NONE, + TopLeft, + TopRight, + BottomLeft, + BottomRight, + End }; enum class SvxTabAdjust |