From 4a98af674c90de499909174af409d0e29cc155e2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 21 May 2016 19:26:41 +0200 Subject: Convert HatchStyle to scoped enum Change-Id: I27878a67457d32e6922dfb6da73f896ff6ab1d01 Reviewed-on: https://gerrit.libreoffice.org/25271 Tested-by: Jenkins Reviewed-by: Noel Grandin --- drawinglayer/source/texture/texture3d.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drawinglayer/source/texture') 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, -- cgit