summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2019-12-05 11:05:39 +0100
committerJan Holesovsky <kendy@collabora.com>2019-12-05 22:58:15 +0100
commitd92a38e36872a8ca4f44483f73a8a0d12dbf2803 (patch)
tree6e5276b012302e30fca15f9186ec160bcfb9812b
parent5b607ae89de9494c01952852df30a6f77206eadc (diff)
drawPixel() should still get 'true' for bXorModeAllowed.co-6.2-1
That part of 7b267be4b2c87b2c3987d4d751307977a7d3ad41 was not necessary. Change-Id: Ie085f635d4adb6f574f3eca37976f9aded505524 Reviewed-on: https://gerrit.libreoffice.org/84535 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
-rw-r--r--vcl/headless/svpgdi.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 86ac6254c5bf..73d610d59ebf 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -714,7 +714,7 @@ void SvpSalGraphics::drawPixel( long nX, long nY )
void SvpSalGraphics::drawPixel( long nX, long nY, Color aColor )
{
- cairo_t* cr = getCairoContext(false);
+ cairo_t* cr = getCairoContext(true);
clipRegion(cr);
cairo_rectangle(cr, nX, nY, 1, 1);
@@ -722,7 +722,7 @@ void SvpSalGraphics::drawPixel( long nX, long nY, Color aColor )
cairo_fill(cr);
basegfx::B2DRange extents = getClippedFillDamage(cr);
- releaseCairoContext(cr, false, extents);
+ releaseCairoContext(cr, true, extents);
}
void SvpSalGraphics::drawRect( long nX, long nY, long nWidth, long nHeight )