vcl/quartz/salgdicommon.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 7e0bfbd763fec8640b4c6e34abf86d5bca12466b
Author:     Armin Le Grand <[email protected]>
AuthorDate: Thu Nov 8 15:36:37 2018 +0100
Commit:     Armin Le Grand <[email protected]>
CommitDate: Thu Nov 8 17:36:18 2018 +0100

    tdf#120252 use the already transformed PolyPolygon
    
    Change-Id: I38abc73116720b99364c3de9fa4378c730385dc2
    Reviewed-on: https://gerrit.libreoffice.org/63104
    Reviewed-by: Xisco FaulĂ­ <[email protected]>
    Tested-by: Xisco FaulĂ­ <[email protected]>
    Reviewed-by: Armin Le Grand <[email protected]>

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() );
     }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to