summaryrefslogtreecommitdiff
path: root/vcl/quartz
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2018-11-08 15:36:37 +0100
committerArmin Le Grand <Armin.Le.Grand@cib.de>2018-11-08 17:36:18 +0100
commit7e0bfbd763fec8640b4c6e34abf86d5bca12466b (patch)
treedacc2e5fb215db33a00578850bc198f1a4741ea0 /vcl/quartz
parent3d70b1253f964fb75cd4b5915b8dd031ee54d5c7 (diff)
tdf#120252 use the already transformed PolyPolygon
Change-Id: I38abc73116720b99364c3de9fa4378c730385dc2 Reviewed-on: https://gerrit.libreoffice.org/63104 Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org> Tested-by: Xisco Faulí <xiscofauli@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
Diffstat (limited to 'vcl/quartz')
-rw-r--r--vcl/quartz/salgdicommon.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx
index 43714cbae3d3..6d66c7e7556c 100644
--- a/vcl/quartz/salgdicommon.cxx
+++ b/vcl/quartz/salgdicommon.cxx
@@ -981,7 +981,9 @@ bool AquaSalGraphics::drawPolyPolygon(
// setup poly-polygon path
CGMutablePathRef xPath = CGPathCreateMutable();
SAL_INFO( "vcl.cg", "CGPathCreateMutable() = " << xPath );
- for(auto const& rPolygon : rPolyPolygon)
+ // tdf#120252 Use the correct, already transformed PolyPolygon (as long as
+ // the transformation is not used here...)
+ for(auto const& rPolygon : aPolyPolygon)
{
AddPolygonToPath( xPath, rPolygon, true, !getAntiAliasB2DDraw(), IsPenVisible() );
}