summaryrefslogtreecommitdiff
path: root/vcl/aqua
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-10-16 04:12:49 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-10-16 05:41:26 +0200
commit67aec439153b8a374d418cfe653b601f8d1b514a (patch)
tree0ff52c40698f0b12f55f9de066ba6536220b8480 /vcl/aqua
parentd6f18c09496318adf78ab32dfa1e1edf74521c5f (diff)
cleanup
Change-Id: I7bfd221f89718ba8634417c93a26b3a199178694
Diffstat (limited to 'vcl/aqua')
-rw-r--r--vcl/aqua/source/gdi/salgdicommon.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/aqua/source/gdi/salgdicommon.cxx b/vcl/aqua/source/gdi/salgdicommon.cxx
index 45be91e63b7b..d9c54d97618b 100644
--- a/vcl/aqua/source/gdi/salgdicommon.cxx
+++ b/vcl/aqua/source/gdi/salgdicommon.cxx
@@ -813,10 +813,8 @@ bool AquaSalGraphics::drawPolyLine(
AddPolygonToPath( xPath, rPolyLine, rPolyLine.isClosed(), !getAntiAliasB2DDraw(), true );
const CGRect aRefreshRect = CGPathGetBoundingBox( xPath );
-#ifndef NO_I97317_WORKAROUND
// #i97317# workaround for Quartz having problems with drawing small polygons
if( ! ((aRefreshRect.size.width <= 0.125) && (aRefreshRect.size.height <= 0.125)) )
-#endif
{
// use the path to prepare the graphics context
CGContextSaveGState( mrContext );
@@ -867,10 +865,8 @@ bool AquaSalGraphics::drawPolyPolygon( const ::basegfx::B2DPolyPolygon& rPolyPol
}
const CGRect aRefreshRect = CGPathGetBoundingBox( xPath );
-#ifndef NO_I97317_WORKAROUND
// #i97317# workaround for Quartz having problems with drawing small polygons
if( ! ((aRefreshRect.size.width <= 0.125) && (aRefreshRect.size.height <= 0.125)) )
-#endif
{
// use the path to prepare the graphics context
CGContextSaveGState( mrContext );