summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-09-01 15:32:28 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-09-01 22:38:11 +0200
commit41cd3e8e817c8c33a13608e62eeb06ce2c6977e4 (patch)
tree44fe33151f95acb77e1cb91118cb0433df91b252 /drawinglayer
parent7c2ddc3ffd2d0f761076363d116288b40370233c (diff)
Fix typos
Change-Id: I00d678ce942401fa3e53e5c0e159c747a4be6b0b Reviewed-on: https://gerrit.libreoffice.org/78367 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/primitive2d/svggradientprimitive2d.cxx2
-rw-r--r--drawinglayer/source/processor2d/vclprocessor2d.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/primitive2d/svggradientprimitive2d.cxx b/drawinglayer/source/primitive2d/svggradientprimitive2d.cxx
index 3f839baf8c54..db3f4df3eb00 100644
--- a/drawinglayer/source/primitive2d/svggradientprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/svggradientprimitive2d.cxx
@@ -43,7 +43,7 @@ namespace
if(nSteps)
{
- // calc discrete length to change color all 1.5 disctete units (pixels)
+ // calc discrete length to change color all 1.5 discrete units (pixels)
const sal_uInt32 nDistSteps(basegfx::fround(fDelta / (fDiscreteUnit * 1.5)));
nSteps = std::min(nSteps, nDistSteps);
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index 9dcac098fe9c..df5e011a6140 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -76,7 +76,7 @@ namespace
if(nSteps)
{
- // calc discrete length to change color each disctete unit (pixel)
+ // calc discrete length to change color each discrete unit (pixel)
const sal_uInt32 nDistSteps(basegfx::fround(fDelta / fDiscreteUnit));
nSteps = std::min(nSteps, nDistSteps);