diff options
Diffstat (limited to 'vcl/source/outdev/curvedshapes.cxx')
-rw-r--r-- | vcl/source/outdev/curvedshapes.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/outdev/curvedshapes.cxx b/vcl/source/outdev/curvedshapes.cxx index a086a81f76f6..3c931c87f2f5 100644 --- a/vcl/source/outdev/curvedshapes.cxx +++ b/vcl/source/outdev/curvedshapes.cxx @@ -104,7 +104,7 @@ void OutputDevice::DrawArc( const Rectangle& rRect, const Point aStart( ImplLogicToDevicePixel( rStartPt ) ); const Point aEnd( ImplLogicToDevicePixel( rEndPt ) ); - tools::Polygon aArcPoly( aRect, aStart, aEnd, POLY_ARC ); + tools::Polygon aArcPoly( aRect, aStart, aEnd, PolyStyle::Arc ); if ( aArcPoly.GetSize() >= 2 ) { @@ -148,7 +148,7 @@ void OutputDevice::DrawPie( const Rectangle& rRect, const Point aStart( ImplLogicToDevicePixel( rStartPt ) ); const Point aEnd( ImplLogicToDevicePixel( rEndPt ) ); - tools::Polygon aPiePoly( aRect, aStart, aEnd, POLY_PIE ); + tools::Polygon aPiePoly( aRect, aStart, aEnd, PolyStyle::Pie ); if ( aPiePoly.GetSize() >= 2 ) { @@ -199,7 +199,7 @@ void OutputDevice::DrawChord( const Rectangle& rRect, const Point aStart( ImplLogicToDevicePixel( rStartPt ) ); const Point aEnd( ImplLogicToDevicePixel( rEndPt ) ); - tools::Polygon aChordPoly( aRect, aStart, aEnd, POLY_CHORD ); + tools::Polygon aChordPoly( aRect, aStart, aEnd, PolyStyle::Chord ); if ( aChordPoly.GetSize() >= 2 ) { |