summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-09-07 11:27:00 +0200
committerJulien Nabet <serval2412@yahoo.fr>2018-09-07 14:50:07 +0200
commitce4245a73114800972711b789a946575b804cea3 (patch)
tree0d9893699292910a7d6b5169afa76e1969d109ec
parenta2304f62e963b413b7575bedfb8d34e5f2d3ea58 (diff)
Fix typos
Change-Id: Idf3906894510d671c75c32a787ad315945b2c339 Reviewed-on: https://gerrit.libreoffice.org/60137 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--vcl/headless/svpgdi.cxx6
1 files changed, 3 insertions, 3 deletions
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,