summaryrefslogtreecommitdiffstats
path: root/drawinglayer
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/processor2d/vclpixelprocessor2d.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
index 3295a97129f3..002ae53c6560 100644
--- a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
@@ -107,9 +107,7 @@ namespace drawinglayer
void VclPixelProcessor2D::tryDrawPolyPolygonColorPrimitive2DDirect(const drawinglayer::primitive2d::PolyPolygonColorPrimitive2D& rSource, double fTransparency)
{
- basegfx::B2DPolyPolygon aLocalPolyPolygon(rSource.getB2DPolyPolygon());
-
- if(!aLocalPolyPolygon.count())
+ if(!rSource.getB2DPolyPolygon().count())
{
// no geometry, done
return;
@@ -119,9 +117,9 @@ namespace drawinglayer
mpOutputDevice->SetFillColor(Color(aPolygonColor));
mpOutputDevice->SetLineColor();
- aLocalPolyPolygon.transform(maCurrentTransformation);
mpOutputDevice->DrawTransparent(
- aLocalPolyPolygon,
+ maCurrentTransformation,
+ rSource.getB2DPolyPolygon(),
fTransparency);
}