diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-30 12:11:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-30 13:06:54 +0000 |
commit | 0cd7ccb87e70982e416322587661cbfde01505ec (patch) | |
tree | 5fe3ac3907f1148ff0b37c2014fec908969569c1 /drawinglayer | |
parent | da56de9ac4824eb365af20b351719395e725be39 (diff) |
convert GradientType to scoped enum
Change-Id: Ie71ead122965e967796ed01270cc2824d35905ac
Reviewed-on: https://gerrit.libreoffice.org/35900
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index 0d386d80a265..b4d425d8a89b 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -1426,7 +1426,7 @@ namespace drawinglayer rFillGraphicAttribute.getTiling(), SvtGraphicFill::hatchSingle, Color(), - SvtGraphicFill::gradientLinear, + SvtGraphicFill::GradientType::Linear, Color(), Color(), 0, @@ -1524,7 +1524,7 @@ namespace drawinglayer false, eHatch, Color(rFillHatchAttribute.getColor()), - SvtGraphicFill::gradientLinear, + SvtGraphicFill::GradientType::Linear, Color(), Color(), 0, @@ -1621,22 +1621,22 @@ namespace drawinglayer if(!mnSvtGraphicFillCount && aLocalPolyPolygon.count()) { - // setup gradient stuff like in like in impgrfll - SvtGraphicFill::GradientType eGrad(SvtGraphicFill::gradientLinear); + // setup gradient stuff like in impgrfll + SvtGraphicFill::GradientType eGrad(SvtGraphicFill::GradientType::Linear); switch(aVCLGradient.GetStyle()) { default : // GradientStyle::Linear: case GradientStyle::Axial: - eGrad = SvtGraphicFill::gradientLinear; + eGrad = SvtGraphicFill::GradientType::Linear; break; case GradientStyle::Radial: case GradientStyle::Elliptical: - eGrad = SvtGraphicFill::gradientRadial; + eGrad = SvtGraphicFill::GradientType::Radial; break; case GradientStyle::Square: case GradientStyle::Rect: - eGrad = SvtGraphicFill::gradientRectangular; + eGrad = SvtGraphicFill::GradientType::Rectangular; break; } @@ -1698,7 +1698,7 @@ namespace drawinglayer false, SvtGraphicFill::hatchSingle, Color(), - SvtGraphicFill::gradientLinear, + SvtGraphicFill::GradientType::Linear, Color(), Color(), 0, @@ -1876,7 +1876,7 @@ namespace drawinglayer false, SvtGraphicFill::hatchSingle, Color(), - SvtGraphicFill::gradientLinear, + SvtGraphicFill::GradientType::Linear, Color(), Color(), 0, |