summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
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);