diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2013-06-22 17:33:20 +0200 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-06-23 04:08:25 +0000 |
commit | beb198b8c0dbb97a648d493bdcfb491436165eec (patch) | |
tree | bf900bc949ec6ccc40f6fd8b4a579fd0a106a0d3 /vcl | |
parent | missing declared dep on boost_headers for editeng lookuptree cppunit test (diff) | |
download | core-beb198b8c0dbb97a648d493bdcfb491436165eec.tar.gz core-beb198b8c0dbb97a648d493bdcfb491436165eec.zip |
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@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/aqua/source/gdi/salgdicommon.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/aqua/source/gdi/salgdicommon.cxx b/vcl/aqua/source/gdi/salgdicommon.cxx index e75616846e0e..45be91e63b7b 100644 --- a/vcl/aqua/source/gdi/salgdicommon.cxx +++ b/vcl/aqua/source/gdi/salgdicommon.cxx @@ -1042,6 +1042,7 @@ void AquaSalGraphics::drawPolygon( sal_uLong nPoints, const SalPoint *pPtAry ) } } + CGContextClosePath( mrContext ); CGContextDrawPath( mrContext, eMode ); RefreshRect( nX, nY, nWidth, nHeight ); } |