diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-05-21 19:26:41 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-23 07:31:31 +0000 |
commit | 4a98af674c90de499909174af409d0e29cc155e2 (patch) | |
tree | 1b30c08b36349a937cd137c31189840cf9f587d1 /drawinglayer/source/texture | |
parent | 72ffb6f590293fb8d3ba428f1700dc05703b014f (diff) |
Convert HatchStyle to scoped enum
Change-Id: I27878a67457d32e6922dfb6da73f896ff6ab1d01
Reviewed-on: https://gerrit.libreoffice.org/25271
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'drawinglayer/source/texture')
-rw-r--r-- | drawinglayer/source/texture/texture3d.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/texture/texture3d.cxx b/drawinglayer/source/texture/texture3d.cxx index 70939b8ec6a1..a3915d5f290d 100644 --- a/drawinglayer/source/texture/texture3d.cxx +++ b/drawinglayer/source/texture/texture3d.cxx @@ -336,7 +336,7 @@ namespace drawinglayer rHatch.getDistance(), fAngleA); - if(attribute::HATCHSTYLE_DOUBLE == rHatch.getStyle() || attribute::HATCHSTYLE_TRIPLE == rHatch.getStyle()) + if(attribute::HatchStyle::Double == rHatch.getStyle() || attribute::HatchStyle::Triple == rHatch.getStyle()) { mp1 = new GeoTexSvxHatch( aOutlineRange, @@ -345,7 +345,7 @@ namespace drawinglayer fAngleA + F_PI2); } - if(attribute::HATCHSTYLE_TRIPLE == rHatch.getStyle()) + if(attribute::HatchStyle::Triple == rHatch.getStyle()) { mp2 = new GeoTexSvxHatch( aOutlineRange, |