vcl/headless/svpgdi.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit ce4245a73114800972711b789a946575b804cea3 Author: Andrea Gelmini <[email protected]> AuthorDate: Fri Sep 7 11:27:00 2018 +0200 Commit: Julien Nabet <[email protected]> CommitDate: Fri Sep 7 14:50:07 2018 +0200 Fix typos Change-Id: Idf3906894510d671c75c32a787ad315945b2c339 Reviewed-on: https://gerrit.libreoffice.org/60137 Tested-by: Jenkins Reviewed-by: Julien Nabet <[email protected]> diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index 73b9a1fe24bf..5acd288e8787 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -850,7 +850,7 @@ basegfx::B2DPoint impPixelSnap( // special case relative to the also executed LineDraw-Offset of (0.5, 0.5) in // DeviceCoordinates: The LineDraw-Offset is applied *after* the snap, so we // need the ObjectToDevice transformation *without* that offset here to do the -// same. The LineDraw-Offset will be appied by the callers using a linear +// same. The LineDraw-Offset will be applied by the callers using a linear // transformation for Cairo now // For support of PixelSnapHairline we also need the ObjectToDevice transformation // and a method (same as in gdiimpl.cxx for Win and Gdiplus). This is needed e.g. @@ -984,7 +984,7 @@ void SvpSalGraphics::drawLine( long nX1, long nY1, long nX2, long nY2 ) basegfx::B2DPolygon aPoly; // PixelOffset used: To not mix with possible PixelSnap, cannot do - // directly on coordinates as truied before - despite being already 'snapped' + // directly on coordinates as tried before - despite being already 'snapped' // due to being integer. If it would be directly added here, it would be // 'snapped' again when !getAntiAliasB2DDraw(), losing the (0.5, 0.5) offset aPoly.append(basegfx::B2DPoint(nX1, nY1)); @@ -1391,7 +1391,7 @@ bool SvpSalGraphics::drawPolyPolygon(const basegfx::B2DPolyPolygon& rPolyPoly, d cairo_matrix_init_translate(&aMatrix, 0.5, 0.5); cairo_set_matrix(cr, &aMatrix); - // Note: Other methods use applyColor(...) to set the Color. Thst + // Note: Other methods use applyColor(...) to set the Color. That // seems to do some more. Maybe it should be used here, too (?) cairo_set_source_rgba(cr, m_aLineColor.GetRed()/255.0, m_aLineColor.GetGreen()/255.0, _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
