diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-16 16:20:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-17 08:45:15 +0200 |
commit | 36d02d78061889ac20f9484672100e92cf1cc0c1 (patch) | |
tree | 212ef1045da71b297648780c827dcda665874d60 /sd/source/ui/func/fucon3d.cxx | |
parent | 48cb92cb1671bfdef3fcf43978455f19b26ca7bd (diff) |
convert XPolyFlags to scoped enum
Change-Id: Ic2a6fad90a0f8c8516469db240ec9910824c1286
Diffstat (limited to 'sd/source/ui/func/fucon3d.cxx')
-rw-r--r-- | sd/source/ui/func/fucon3d.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sd/source/ui/func/fucon3d.cxx b/sd/source/ui/func/fucon3d.cxx index 5661a463c61e..0d96e60f164b 100644 --- a/sd/source/ui/func/fucon3d.cxx +++ b/sd/source/ui/func/fucon3d.cxx @@ -128,14 +128,14 @@ E3dCompoundObject* FuConstruct3dObject::ImpCreateBasic3DShape() XPolygon aXPoly(Point (0, 1250), 2500, 2500, 0, 900, false); aXPoly.Scale(5.0, 5.0); - aXPoly.Insert(0, Point (2400*5, 1250*5), XPOLY_NORMAL); - aXPoly.Insert(0, Point (2000*5, 1250*5), XPOLY_NORMAL); - aXPoly.Insert(0, Point (1500*5, 1250*5), XPOLY_NORMAL); - aXPoly.Insert(0, Point (1000*5, 1250*5), XPOLY_NORMAL); - aXPoly.Insert(0, Point (500*5, 1250*5), XPOLY_NORMAL); - aXPoly.Insert(0, Point (250*5, 1250*5), XPOLY_NORMAL); - aXPoly.Insert(0, Point (50*5, 1250*5), XPOLY_NORMAL); - aXPoly.Insert(0, Point (0*5, 1250*5), XPOLY_NORMAL); + aXPoly.Insert(0, Point (2400*5, 1250*5), XPolyFlags::Normal); + aXPoly.Insert(0, Point (2000*5, 1250*5), XPolyFlags::Normal); + aXPoly.Insert(0, Point (1500*5, 1250*5), XPolyFlags::Normal); + aXPoly.Insert(0, Point (1000*5, 1250*5), XPolyFlags::Normal); + aXPoly.Insert(0, Point (500*5, 1250*5), XPolyFlags::Normal); + aXPoly.Insert(0, Point (250*5, 1250*5), XPolyFlags::Normal); + aXPoly.Insert(0, Point (50*5, 1250*5), XPolyFlags::Normal); + aXPoly.Insert(0, Point (0*5, 1250*5), XPolyFlags::Normal); ::basegfx::B2DPolygon aB2DPolygon(aXPoly.getB2DPolygon()); if(aB2DPolygon.areControlPointsUsed()) |