summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2019-12-05 11:05:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-12-09 21:18:24 +0100
commit1e2eb3816794117b09496be58230ceb292bc547d (patch)
tree6181674f92a4afd6ebab6030a62d726a9196defe /vcl
parente756a570cc18427a4ad61af15c42e3d8d54beb13 (diff)
drawPixel() should still get 'true' for bXorModeAllowed.
That part of 7b267be4b2c87b2c3987d4d751307977a7d3ad41 was not necessary. Change-Id: Ie085f635d4adb6f574f3eca37976f9aded505524 Reviewed-on: https://gerrit.libreoffice.org/84536 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-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 0fd0ecd751e0..7b2286d6d9a5 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -718,7 +718,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);
@@ -726,7 +726,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 )