summaryrefslogtreecommitdiff
path: root/drawinglayer/source/processor3d
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-05-21 19:15:22 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-23 09:20:31 +0000
commit5c5209c2d9f2626d2c024493a7f9cde9577e6261 (patch)
treea989f18da3fc45114e07f630bc3acd2221098996 /drawinglayer/source/processor3d
parentfde4ccb0752f4a34b995ee3b0937098c3d189c1b (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 'drawinglayer/source/processor3d')
-rw-r--r--drawinglayer/source/processor3d/defaultprocessor3d.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/drawinglayer/source/processor3d/defaultprocessor3d.cxx b/drawinglayer/source/processor3d/defaultprocessor3d.cxx
index f83eb1fe3daa..50830bae4275 100644
--- a/drawinglayer/source/processor3d/defaultprocessor3d.cxx
+++ b/drawinglayer/source/processor3d/defaultprocessor3d.cxx
@@ -87,7 +87,7 @@ namespace drawinglayer
switch(aGradientStyle)
{
- case attribute::GRADIENTSTYLE_LINEAR:
+ case attribute::GradientStyle::Linear:
{
pNewTex.reset(
new texture::GeoTexSvxGradientLinear(
@@ -100,7 +100,7 @@ namespace drawinglayer
rFillGradient.getAngle()));
break;
}
- case attribute::GRADIENTSTYLE_AXIAL:
+ case attribute::GradientStyle::Axial:
{
pNewTex.reset(
new texture::GeoTexSvxGradientAxial(
@@ -113,7 +113,7 @@ namespace drawinglayer
rFillGradient.getAngle()));
break;
}
- case attribute::GRADIENTSTYLE_RADIAL:
+ case attribute::GradientStyle::Radial:
{
pNewTex.reset(
new texture::GeoTexSvxGradientRadial(
@@ -126,7 +126,7 @@ namespace drawinglayer
rFillGradient.getOffsetY()));
break;
}
- case attribute::GRADIENTSTYLE_ELLIPTICAL:
+ case attribute::GradientStyle::Elliptical:
{
pNewTex.reset(
new texture::GeoTexSvxGradientElliptical(
@@ -140,7 +140,7 @@ namespace drawinglayer
rFillGradient.getAngle()));
break;
}
- case attribute::GRADIENTSTYLE_SQUARE:
+ case attribute::GradientStyle::Square:
{
pNewTex.reset(
new texture::GeoTexSvxGradientSquare(
@@ -154,7 +154,7 @@ namespace drawinglayer
rFillGradient.getAngle()));
break;
}
- case attribute::GRADIENTSTYLE_RECT:
+ case attribute::GradientStyle::Rect:
{
pNewTex.reset(
new texture::GeoTexSvxGradientRect(