summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-05 13:59:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-06 05:31:18 +0000
commit70f05aa69acca911298201b8a61e3312ec1ab30e (patch)
treeb9ad6ff8795f3464701c3a643dc0367a804fbbf9 /cppcanvas
parentae923f941f70ebe99cc785076f3357015dd69003 (diff)
convert PolyStyle to scoped enum
Change-Id: Ia35fdbb5e40888db9558988ac069741b31721f0e Reviewed-on: https://gerrit.libreoffice.org/31633 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index 0e41235e7cde..3d630e6c2e13 100644
--- a/cppcanvas/source/mtfrenderer/implrenderer.cxx
+++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx
@@ -2007,7 +2007,7 @@ namespace cppcanvas
// TODO(F1): Missing basegfx functionality. Mind empty rects!
const ::tools::Polygon aToolsPoly( static_cast<MetaArcAction*>(pCurrAct)->GetRect(),
static_cast<MetaArcAction*>(pCurrAct)->GetStartPoint(),
- static_cast<MetaArcAction*>(pCurrAct)->GetEndPoint(), POLY_ARC );
+ static_cast<MetaArcAction*>(pCurrAct)->GetEndPoint(), PolyStyle::Arc );
::basegfx::B2DPolygon aPoly( aToolsPoly.getB2DPolygon() );
aPoly.transform( rStates.getState().mapModeTransform );
@@ -2021,7 +2021,7 @@ namespace cppcanvas
// TODO(F1): Missing basegfx functionality. Mind empty rects!
const ::tools::Polygon aToolsPoly( static_cast<MetaPieAction*>(pCurrAct)->GetRect(),
static_cast<MetaPieAction*>(pCurrAct)->GetStartPoint(),
- static_cast<MetaPieAction*>(pCurrAct)->GetEndPoint(), POLY_PIE );
+ static_cast<MetaPieAction*>(pCurrAct)->GetEndPoint(), PolyStyle::Pie );
::basegfx::B2DPolygon aPoly( aToolsPoly.getB2DPolygon() );
aPoly.transform( rStates.getState().mapModeTransform );
@@ -2035,7 +2035,7 @@ namespace cppcanvas
// TODO(F1): Missing basegfx functionality. Mind empty rects!
const ::tools::Polygon aToolsPoly( static_cast<MetaChordAction*>(pCurrAct)->GetRect(),
static_cast<MetaChordAction*>(pCurrAct)->GetStartPoint(),
- static_cast<MetaChordAction*>(pCurrAct)->GetEndPoint(), POLY_CHORD );
+ static_cast<MetaChordAction*>(pCurrAct)->GetEndPoint(), PolyStyle::Chord );
::basegfx::B2DPolygon aPoly( aToolsPoly.getB2DPolygon() );
aPoly.transform( rStates.getState().mapModeTransform );