vcl/headless/svpgdi.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 16ddff7dcadfa1c062d9388e76a10583f6d33722 Author: Caolán McNamara <[email protected]> AuthorDate: Tue Jul 23 17:25:32 2019 +0100 Commit: Caolán McNamara <[email protected]> CommitDate: Wed Jul 24 09:14:51 2019 +0200 Related: tdf#126227 don't need preserve variant here we're calling cairo_fill_preserve so we can reuse the same path to stroke. We don't use this path again after stroke. this change should have no visual effect Change-Id: I1ad6af875b0a58a0699b5d9801c76510cc242ab9 Reviewed-on: https://gerrit.libreoffice.org/76196 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index 205c1153e02b..b0e4c40cc5fa 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -579,7 +579,7 @@ bool SvpSalGraphics::drawAlphaRect(long nX, long nY, long nWidth, long nHeight, // expand with possible StrokeDamage extents.expand(getClippedStrokeDamage(cr)); - cairo_stroke_preserve(cr); + cairo_stroke(cr); } releaseCairoContext(cr, false, extents); @@ -1466,7 +1466,7 @@ bool SvpSalGraphics::drawPolyPolygon( // expand with possible StrokeDamage extents.expand(getClippedStrokeDamage(cr)); - cairo_stroke_preserve(cr); + cairo_stroke(cr); } // if transformation has been applied, transform also extents (ranges) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
