diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-05-21 19:15:22 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-23 09:20:31 +0000 |
commit | 5c5209c2d9f2626d2c024493a7f9cde9577e6261 (patch) | |
tree | a989f18da3fc45114e07f630bc3acd2221098996 /include/drawinglayer | |
parent | fde4ccb0752f4a34b995ee3b0937098c3d189c1b (diff) |
Convert GradientStyle to scoped enum
Change-Id: I1da151dd25648e363ba88bf88caa3e820f0ee424
Reviewed-on: https://gerrit.libreoffice.org/25270
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/drawinglayer')
-rw-r--r-- | include/drawinglayer/attribute/fillgradientattribute.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/drawinglayer/attribute/fillgradientattribute.hxx b/include/drawinglayer/attribute/fillgradientattribute.hxx index ff3d3ebe81e3..a6f98f6ddf28 100644 --- a/include/drawinglayer/attribute/fillgradientattribute.hxx +++ b/include/drawinglayer/attribute/fillgradientattribute.hxx @@ -39,14 +39,14 @@ namespace drawinglayer { namespace attribute { - enum GradientStyle + enum class GradientStyle { - GRADIENTSTYLE_LINEAR, - GRADIENTSTYLE_AXIAL, - GRADIENTSTYLE_RADIAL, - GRADIENTSTYLE_ELLIPTICAL, - GRADIENTSTYLE_SQUARE, - GRADIENTSTYLE_RECT + Linear, + Axial, + Radial, + Elliptical, + Square, + Rect }; } // end of namespace attribute } // end of namespace drawinglayer |