summaryrefslogtreecommitdiff
path: root/vcl/opengl/RenderList.cxx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-02 09:38:03 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-02 12:43:32 +0000
commit65434e8701ab71c8bff8b0ac722d41b0592483dc (patch)
tree6970694ffae28089d60082bf1c5fe71a21a75336 /vcl/opengl/RenderList.cxx
parent5bea199bae9986d7276a9b2379a577c6cea552ed (diff)
Fix typos
Change-Id: I72db7ff99cde394bc161dfd835bfb0d9a47a53d1 Reviewed-on: https://gerrit.libreoffice.org/34780 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/opengl/RenderList.cxx')
-rw-r--r--vcl/opengl/RenderList.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/opengl/RenderList.cxx b/vcl/opengl/RenderList.cxx
index cef311f9d22a..4c191fd8896b 100644
--- a/vcl/opengl/RenderList.cxx
+++ b/vcl/opengl/RenderList.cxx
@@ -40,7 +40,7 @@ void appendPolyLine(vcl::LineBuilder& rBuilder, const basegfx::B2DPolygon& rPoly
if (nPoints == 2 || eLineJoin == basegfx::B2DLineJoin::NONE)
{
// If line joint is NONE or a simple line with 2 points, draw the polyline
- // each line segment separatly.
+ // each line segment separately.
for (sal_uInt32 i = 0; i < (bClosed ? nPoints : nPoints - 1); ++i)
{
@@ -74,7 +74,7 @@ void appendPolyLine(vcl::LineBuilder& rBuilder, const basegfx::B2DPolygon& rPoly
rBuilder.appendAndConnectLinePoint(p1, normal, 1.0f);
i++; // first point done already
- lastPoint--; // last point will be calculated separatly from the loop
+ lastPoint--; // last point will be calculated separately from the loop
p0 = p1;
previousLineVector = nextLineVector;