[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - vcl/aqua

Khaled Hosny khaledhosny at eglug.org
Fri Jun 28 00:04:10 PDT 2013


 vcl/aqua/source/gdi/salgdicommon.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit a34f119432489937a0400d3b7692a40736a326ba
Author: Khaled Hosny <khaledhosny at eglug.org>
Date:   Sat Jun 22 17:33:20 2013 +0200

    fdo#50506, incomplete indent markers in Mac rulers
    
    AquaSalGraphics::drawPolygon() should close the path like other polygon
    drawing functions. It have been like that for 5 years since
    3ca40fb8a2e8c805517b351ebd97c1385cfc92a3, no idea how it was never
    noticed.
    
    Change-Id: Ifba740afa66ad485943c7873d78e007b778cd7b3
    Reviewed-on: https://gerrit.libreoffice.org/4448
    Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>
    Reviewed-on: https://gerrit.libreoffice.org/4456

diff --git a/vcl/aqua/source/gdi/salgdicommon.cxx b/vcl/aqua/source/gdi/salgdicommon.cxx
index afedd3b..ca5c9d2 100644
--- a/vcl/aqua/source/gdi/salgdicommon.cxx
+++ b/vcl/aqua/source/gdi/salgdicommon.cxx
@@ -1001,6 +1001,7 @@ void AquaSalGraphics::drawPolygon( sal_uLong nPoints, const SalPoint *pPtAry )
         }
     }
 
+    CGContextClosePath( mrContext );
     CGContextDrawPath( mrContext, eMode );
     RefreshRect( nX, nY, nWidth, nHeight );
 }


More information about the Libreoffice-commits mailing list