[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - vcl/headless
Jan Holesovsky (via logerrit)
logerrit at kemper.freedesktop.org
Thu Dec 5 21:59:28 UTC 2019
vcl/headless/svpgdi.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit d92a38e36872a8ca4f44483f73a8a0d12dbf2803
Author: Jan Holesovsky <kendy at collabora.com>
AuthorDate: Thu Dec 5 11:05:39 2019 +0100
Commit: Jan Holesovsky <kendy at collabora.com>
CommitDate: Thu Dec 5 22:58:15 2019 +0100
drawPixel() should still get 'true' for bXorModeAllowed.
That part of 7b267be4b2c87b2c3987d4d751307977a7d3ad41 was not necessary.
Change-Id: Ie085f635d4adb6f574f3eca37976f9aded505524
Reviewed-on: https://gerrit.libreoffice.org/84535
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
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 )
More information about the Libreoffice-commits
mailing list