diff options
Diffstat (limited to 'vcl/source/outdev/line.cxx')
-rw-r--r-- | vcl/source/outdev/line.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/outdev/line.cxx b/vcl/source/outdev/line.cxx index 1a8a3f5536e8..2e76acf2ef7d 100644 --- a/vcl/source/outdev/line.cxx +++ b/vcl/source/outdev/line.cxx @@ -241,7 +241,7 @@ void OutputDevice::drawLine( basegfx::B2DPolyPolygon aLinePolyPolygon, const Lin if(!bDone) { - const Polygon aPolygon(aCandidate); + const tools::Polygon aPolygon(aCandidate); mpGraphics->DrawPolyLine(aPolygon.GetSize(), reinterpret_cast<const SalPoint*>(aPolygon.GetConstPointAry()), this); } } @@ -268,7 +268,7 @@ void OutputDevice::drawLine( basegfx::B2DPolyPolygon aLinePolyPolygon, const Lin { for(sal_uInt32 a(0); a < aFillPolyPolygon.count(); a++) { - Polygon aPolygon(aFillPolyPolygon.getB2DPolygon(a)); + tools::Polygon aPolygon(aFillPolyPolygon.getB2DPolygon(a)); // need to subdivide, mpGraphics->DrawPolygon ignores curves aPolygon.AdaptiveSubdivide(aPolygon); |