[Libreoffice-commits] core.git: vcl/quartz

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 8 16:38:11 UTC 2018


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

New commits:
commit 7e0bfbd763fec8640b4c6e34abf86d5bca12466b
Author:     Armin Le Grand <Armin.Le.Grand at cib.de>
AuthorDate: Thu Nov 8 15:36:37 2018 +0100
Commit:     Armin Le Grand <Armin.Le.Grand at cib.de>
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Ă­ <xiscofauli at libreoffice.org>
    Tested-by: Xisco FaulĂ­ <xiscofauli at libreoffice.org>
    Reviewed-by: Armin Le Grand <Armin.Le.Grand at cib.de>

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() );
     }


More information about the Libreoffice-commits mailing list