diff options
-rw-r--r-- | vcl/quartz/salgdicommon.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx index 3126400709f2..5acc4d4e4e77 100644 --- a/vcl/quartz/salgdicommon.cxx +++ b/vcl/quartz/salgdicommon.cxx @@ -924,7 +924,7 @@ bool AquaSalGraphics::drawPolyLine( const CGRect aRefreshRect = CGPathGetBoundingBox( xPath ); // #i97317# workaround for Quartz having problems with drawing small polygons - if( ! ((aRefreshRect.size.width <= 0.125) && (aRefreshRect.size.height <= 0.125)) ) + if( (aRefreshRect.size.width > 0.125) || (aRefreshRect.size.height > 0.125) ) { // use the path to prepare the graphics context maContextHolder.saveState(); @@ -987,7 +987,7 @@ bool AquaSalGraphics::drawPolyPolygon( const CGRect aRefreshRect = CGPathGetBoundingBox( xPath ); // #i97317# workaround for Quartz having problems with drawing small polygons - if( ! ((aRefreshRect.size.width <= 0.125) && (aRefreshRect.size.height <= 0.125)) ) + if( (aRefreshRect.size.width > 0.125) || (aRefreshRect.size.height > 0.125) ) { // prepare drawing mode CGPathDrawingMode eMode; |