diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-05-22 12:54:26 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-22 17:54:17 +0000 |
commit | 7e55fbab6348c2a844fc7ecca8de61416db8fdae (patch) | |
tree | 8a40d272a5ae327ded06dab40804dc50e72c6fa6 /svgio/source | |
parent | e66c1a6f32fa682c60be672020f4ee8890b96a11 (diff) |
Convert SpreadMethod to scoped enum
Change-Id: I2a04247bd58ed6f2af8da7e109b31ff83d6d5e49
Reviewed-on: https://gerrit.libreoffice.org/25298
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svgio/source')
-rw-r--r-- | svgio/source/svgreader/svggradientnode.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svgio/source/svgreader/svggradientnode.cxx b/svgio/source/svgreader/svggradientnode.cxx index 51362b80e471..6f2560dcfa50 100644 --- a/svgio/source/svgreader/svggradientnode.cxx +++ b/svgio/source/svgreader/svggradientnode.cxx @@ -49,7 +49,7 @@ namespace svgio maFx(), maFy(), maGradientUnits(objectBoundingBox), - maSpreadMethod(drawinglayer::primitive2d::Spread_pad), + maSpreadMethod(drawinglayer::primitive2d::SpreadMethod::Pad), mpaGradientTransform(nullptr), maXLink(), mpXLink(nullptr) @@ -203,15 +203,15 @@ namespace svgio { if(aContent.startsWith("pad")) { - setSpreadMethod(drawinglayer::primitive2d::Spread_pad); + setSpreadMethod(drawinglayer::primitive2d::SpreadMethod::Pad); } else if(aContent.startsWith("reflect")) { - setSpreadMethod(drawinglayer::primitive2d::Spread_reflect); + setSpreadMethod(drawinglayer::primitive2d::SpreadMethod::Reflect); } else if(aContent.startsWith("repeat")) { - setSpreadMethod(drawinglayer::primitive2d::Spread_repeat); + setSpreadMethod(drawinglayer::primitive2d::SpreadMethod::Repeat); } } break; |