Skip to content

Commit

Permalink
drawPixel() should still get 'true' for bXorModeAllowed.
Browse files Browse the repository at this point in the history
That part of 7b267be was not necessary.

Change-Id: Ie085f635d4adb6f574f3eca37976f9aded505524
Reviewed-on: https://gerrit.libreoffice.org/84535
Tested-by: Jenkins CollaboraOffice <[email protected]>
Reviewed-by: Jan Holesovsky <[email protected]>
  • Loading branch information
kendy committed Dec 5, 2019
1 parent 5b607ae commit d92a38e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vcl/headless/svpgdi.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -714,15 +714,15 @@ 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);
applyColor(cr, aColor, 0.0);
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 )
Expand Down

0 comments on commit d92a38e

Please sign in to comment.