summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-02-02 19:47:20 +0100
committerjan iversen <jani@documentfoundation.org>2016-02-05 06:48:38 +0000
commit534b2a4b58ba765dbc256d6297e33453524915e2 (patch)
tree68524baff923ce094392f49e0f263ae0d35f80e9 /basegfx/source/polygon
parent7f5de2436a5c51ee8dec38a9b04f4a1b3589e361 (diff)
Fix typos
Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'basegfx/source/polygon')
-rw-r--r--basegfx/source/polygon/b2dlinegeometry.cxx2
-rw-r--r--basegfx/source/polygon/b2dpolygonclipper.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/basegfx/source/polygon/b2dlinegeometry.cxx b/basegfx/source/polygon/b2dlinegeometry.cxx
index 2b6f6f95e999..5527dd0d0a0f 100644
--- a/basegfx/source/polygon/b2dlinegeometry.cxx
+++ b/basegfx/source/polygon/b2dlinegeometry.cxx
@@ -866,7 +866,7 @@ namespace basegfx
if(B2VectorOrientation::Neutral == aOrientation)
{
- // they are parallell or empty; if they are both not zero and point
+ // they are parallel or empty; if they are both not zero and point
// in opposite direction, a half-circle is needed
if(!aTangentPrev.equalZero() && !aTangentEdge.equalZero())
{
diff --git a/basegfx/source/polygon/b2dpolygonclipper.cxx b/basegfx/source/polygon/b2dpolygonclipper.cxx
index 7087c542de2a..fcf6fa00642b 100644
--- a/basegfx/source/polygon/b2dpolygonclipper.cxx
+++ b/basegfx/source/polygon/b2dpolygonclipper.cxx
@@ -226,7 +226,7 @@ namespace basegfx
if(!bInside)
{
- // cutting off the outer parts of filled polygons at parallell
+ // cutting off the outer parts of filled polygons at parallel
// lines to the axes is only possible for the inner part, not for
// the outer part which means cutting a hole into the original polygon.
// This is because the inner part is a logical AND-operation of
@@ -326,7 +326,7 @@ namespace basegfx
else
{
// for details, see comment in clipPolygonOnRange for the "cutting off
- // the outer parts of filled polygons at parallell lines" explanations
+ // the outer parts of filled polygons at parallel lines" explanations
const B2DPolygon aClip(createPolygonFromRect(rRange));
return clipPolyPolygonOnPolyPolygon(rCandidate, B2DPolyPolygon(aClip), bInside, bStroke);