diff options
author | Jan Holesovsky <kendy@collabora.com> | 2019-12-05 11:05:39 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2019-12-05 22:58:47 +0100 |
commit | 790b5de8941d8f8d98c73ed1343289d7220211ad (patch) | |
tree | 23862d0da4bda05b041393d678d6883aabb13a44 /vcl | |
parent | 5799555fbfe378b22b5b36e0e7f9573ec9b26a31 (diff) |
drawPixel() should still get 'true' for bXorModeAllowed.
That part of 7b267be4b2c87b2c3987d4d751307977a7d3ad41 was not necessary.
Change-Id: Ie085f635d4adb6f574f3eca37976f9aded505524
Reviewed-on: https://gerrit.libreoffice.org/84534
Tested-by: Jenkins
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/headless/svpgdi.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index 07f15821496d..7554ab1337ed 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -720,7 +720,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); @@ -728,7 +728,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 ) |