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