summaryrefslogtreecommitdiff
path: root/vcl/quartz
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2018-12-05 01:23:17 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-05 08:18:50 +0100
commitbe504e8c7ef06637f055c43ad350381377df1e90 (patch)
treeced7e4e4f18ad257ef9c0ab78c0714b40cbc0599 /vcl/quartz
parent1d65ffc5a37be21e0316019b1c96eb9a1c871ac0 (diff)
tdf#121719: Revert fix for tdf#96971
it's still used on Mac. Revert it until XOL is removed This reverts 258301879bcd20397c38bbd522dea2c923bd9fc2 Change-Id: I06548a590f370618ad640724a1b9c59a3faceec2 Reviewed-on: https://gerrit.libreoffice.org/64582 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/quartz')
-rw-r--r--vcl/quartz/salgdicommon.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx
index 6d66c7e7556c..2e22d6077a2e 100644
--- a/vcl/quartz/salgdicommon.cxx
+++ b/vcl/quartz/salgdicommon.cxx
@@ -1816,7 +1816,7 @@ void AquaSalGraphics::SetROPLineColor( SalROPColor nROPColor )
}
}
-void AquaSalGraphics::SetXORMode( bool bSet )
+void AquaSalGraphics::SetXORMode( bool bSet, bool bInvertOnly )
{
// return early if XOR mode remains unchanged
if( mbPrinter )
@@ -1829,7 +1829,7 @@ void AquaSalGraphics::SetXORMode( bool bSet )
mnXorMode = 0;
return;
}
- else if( bSet && mnXorMode == 0)
+ else if( bSet && bInvertOnly && mnXorMode == 0)
{
CGContextSetBlendMode( mrContext, kCGBlendModeDifference );
mnXorMode = 2;