summaryrefslogtreecommitdiff
path: root/chart2/source/view
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-07-07 23:14:30 +0200
committerJulien Nabet <serval2412@yahoo.fr>2015-07-08 05:48:18 +0000
commit799cc41b53a59c543408fa5370e107c2c57a2904 (patch)
tree790ed9324cea1b9a2f54955a0497cab55c617128 /chart2/source/view
parentff669d1c7f692052534d1136d1ff4220433f8542 (diff)
Fix typos
Change-Id: I70b03c152f63e48341dc5629a99b0eeab7b497c0 Reviewed-on: https://gerrit.libreoffice.org/16834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'chart2/source/view')
-rw-r--r--chart2/source/view/charttypes/Splines.cxx4
-rw-r--r--chart2/source/view/main/ShapeFactory.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/view/charttypes/Splines.cxx b/chart2/source/view/charttypes/Splines.cxx
index 5b906b6a084a..1921fd3dae7d 100644
--- a/chart2/source/view/charttypes/Splines.cxx
+++ b/chart2/source/view/charttypes/Splines.cxx
@@ -42,7 +42,7 @@ typedef tPointVecType::size_type lcl_tSizeType;
class lcl_SplineCalculation
{
public:
- /** @descr creates an object that calculates cublic splines on construction
+ /** @descr creates an object that calculates cubic splines on construction
@param rSortedPoints the points for which splines shall be calculated, they need to be sorted in x values
@param fY1FirstDerivation the resulting spline should have the first
@@ -57,7 +57,7 @@ public:
double fY1FirstDerivation,
double fYnFirstDerivation );
- /** @descr creates an object that calculates cublic splines on construction
+ /** @descr creates an object that calculates cubic splines on construction
for the special case of periodic cubic spline
@param rSortedPoints the points for which splines shall be calculated,
diff --git a/chart2/source/view/main/ShapeFactory.cxx b/chart2/source/view/main/ShapeFactory.cxx
index a050730acb95..798691129bf1 100644
--- a/chart2/source/view/main/ShapeFactory.cxx
+++ b/chart2/source/view/main/ShapeFactory.cxx
@@ -627,7 +627,7 @@ uno::Reference<drawing::XShape>
"com.sun.star.drawing.Shape3DLatheObject" ), uno::UNO_QUERY );
xTarget->add(xShape);
- double fWidth = rSize.DirectionX/2.0; //The depth will be corrrected within Matrix
+ double fWidth = rSize.DirectionX/2.0; //The depth will be corrected within Matrix
double fRadius = fWidth; //!!!!!!!! problem in drawing layer: rotation object calculates wrong needed size -> wrong camera (it's a problem with bounding boxes)
double fHeight = rSize.DirectionY;