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 /svx/source/sdr/primitive2d | |
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 'svx/source/sdr/primitive2d')
-rw-r--r-- | svx/source/sdr/primitive2d/sdrattributecreator.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/sdr/primitive2d/sdrattributecreator.cxx b/svx/source/sdr/primitive2d/sdrattributecreator.cxx index 97ee4c0175e5..79fdbf9f61fd 100644 --- a/svx/source/sdr/primitive2d/sdrattributecreator.cxx +++ b/svx/source/sdr/primitive2d/sdrattributecreator.cxx @@ -88,27 +88,27 @@ namespace drawinglayer { case css::awt::GradientStyle_LINEAR : { - return attribute::GRADIENTSTYLE_LINEAR; + return attribute::GradientStyle::Linear; } case css::awt::GradientStyle_AXIAL : { - return attribute::GRADIENTSTYLE_AXIAL; + return attribute::GradientStyle::Axial; } case css::awt::GradientStyle_RADIAL : { - return attribute::GRADIENTSTYLE_RADIAL; + return attribute::GradientStyle::Radial; } case css::awt::GradientStyle_ELLIPTICAL : { - return attribute::GRADIENTSTYLE_ELLIPTICAL; + return attribute::GradientStyle::Elliptical; } case css::awt::GradientStyle_SQUARE : { - return attribute::GRADIENTSTYLE_SQUARE; + return attribute::GradientStyle::Square; } default : { - return attribute::GRADIENTSTYLE_RECT; // css::awt::GradientStyle_RECT + return attribute::GradientStyle::Rect; // css::awt::GradientStyle_RECT } } } |