summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-05-14 21:26:02 +0000
committerJulien Nabet <serval2412@yahoo.fr>2019-05-18 08:08:59 +0200
commit3151c3b714699ed5be0bc5a1b0dabbb371c397a3 (patch)
tree252d698da4dab4d519c7014e2afef98732788f8b /drawinglayer
parent41f79d910ac03ef9f5ad5f0a87ad78c8e97ebd0b (diff)
Fix typo
Change-Id: Ibf50359ffa345ca1adbe4a093f63cff427aa79f3 Reviewed-on: https://gerrit.libreoffice.org/72505 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/primitive2d/borderlineprimitive2d.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx
index e23a48921dc6..32b689e959d2 100644
--- a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx
@@ -177,7 +177,7 @@ namespace drawinglayer
// with stroke, we have a problem - a filled polygon would lose the
// stroke. Let's represent the start and/or end as triangles, the main
// line still as PolygonStrokePrimitive2D.
- // Fill default line Start/End for stroke, so we need no adaptions in else paths
+ // Fill default line Start/End for stroke, so we need no adaptations in else paths
basegfx::B2DPoint aStrokeStart(aStart - (aVector * candidate.getStartLeft()));
basegfx::B2DPoint aStrokeEnd(aEnd + (aVector * candidate.getEndLeft()));
const basegfx::B2DVector aHalfLineOffset(aPerpendicular * (candidate.getLineAttribute().getWidth() * 0.5));
@@ -391,7 +391,7 @@ namespace drawinglayer
else
{
// when not gap, the line extends have at least reach to the center ( > 0.0),
- // else there is a extend usage. When > 0.0 they just overlap, no problem
+ // else there is an extend usage. When > 0.0 they just overlap, no problem
if(rBT.getEndLeft() >= 0.0
&& rBT.getEndRight() >= 0.0
&& rBC.getStartLeft() >= 0.0