diff options
-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 ) |