summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-06-15 17:03:57 +0200
committerMichael Stahl <mstahl@redhat.com>2015-06-16 11:05:58 +0000
commit01532b1ab8f34ac0a87c17efaa2e6c7e9ac29b3b (patch)
treee4ca01d348aaee1ba6113c7b2e128a00dce66f3b /chart2
parent9b7e1bf43dcb25acabc15fb2bfb30e2a1dd249df (diff)
Fix typos
Change-Id: I28cfc629dc3d6ef54128615452667ccce86c1072 Reviewed-on: https://gerrit.libreoffice.org/16297 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/tools/AxisHelper.cxx2
-rw-r--r--chart2/source/view/charttypes/Splines.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/tools/AxisHelper.cxx b/chart2/source/tools/AxisHelper.cxx
index 045ba71cce0e..ae9c58ee5fab 100644
--- a/chart2/source/tools/AxisHelper.cxx
+++ b/chart2/source/tools/AxisHelper.cxx
@@ -258,7 +258,7 @@ sal_Int32 AxisHelper::getExplicitNumberFormatKeyForAxis(
if( nDimensionIndex == 1 )
{
- //only take those series into accoutn that are attached to this axis
+ //only take those series into account that are attached to this axis
sal_Int32 nAttachedAxisIndex = DataSeriesHelper::getAttachedAxisIndex(xDataSeries);
if( nAttachedAxisIndex != nAxisIndex )
continue;
diff --git a/chart2/source/view/charttypes/Splines.cxx b/chart2/source/view/charttypes/Splines.cxx
index d7eae8e61059..660c8ce01f7a 100644
--- a/chart2/source/view/charttypes/Splines.cxx
+++ b/chart2/source/view/charttypes/Splines.cxx
@@ -851,7 +851,7 @@ void SplineCalculater::CalculateBSplines(
while ( r !=0 && cc-r < p )
{
fEliminate = aMatN[r][ cc - aShift[r] ];
- if ( fEliminate != 0.0) // else element is accidentically zero, no action needed
+ if ( fEliminate != 0.0) // else element is accidentally zero, no action needed
{
// row r -= fEliminate * row cc only relevant for right side
aMatN[r][cc - aShift[r]] = 0.0;