summaryrefslogtreecommitdiffstats
path: root/chart2
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-10-04 12:34:30 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-10-04 15:05:04 +0200
commitbe62c01287c095c22a83ecfe6f9f45874f6e56f8 (patch)
treeee40a7558322b4627a564f69dfb92e4c8401bea0 /chart2
parentremove unused method (diff)
downloadcore-be62c01287c095c22a83ecfe6f9f45874f6e56f8.tar.gz
core-be62c01287c095c22a83ecfe6f9f45874f6e56f8.zip
fdo#39674 fix some spelling
Change-Id: I72e497fb97edf8782c69000576f42896594e1556
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/charttypes/Splines.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/view/charttypes/Splines.cxx b/chart2/source/view/charttypes/Splines.cxx
index 8c5963276df5..54f2354b671d 100644
--- a/chart2/source/view/charttypes/Splines.cxx
+++ b/chart2/source/view/charttypes/Splines.cxx
@@ -249,13 +249,13 @@ void lcl_SplineCalculation::CalculatePeriodic()
double xDiff2p1 = xDiff2 + xDiff1;
double xDiff0p2 = xDiff0 + xDiff2;
double xDiff1p0 = xDiff1 + xDiff0;
- double fFaktor = 1.5 / (xDiff0*xDiff1 + xDiff1*xDiff2 + xDiff2*xDiff0);
+ double fFactor = 1.5 / (xDiff0*xDiff1 + xDiff1*xDiff2 + xDiff2*xDiff0);
double yDiff0 = (m_aPoints[ 1 ].second - m_aPoints[ 0 ].second) / xDiff0;
double yDiff1 = (m_aPoints[ 2 ].second - m_aPoints[ 1 ].second) / xDiff1;
double yDiff2 = (m_aPoints[ 0 ].second - m_aPoints[ 2 ].second) / xDiff2;
- m_aSecDerivY[ 1 ] = fFaktor * (yDiff1*xDiff2p1 - yDiff0*xDiff0p2);
- m_aSecDerivY[ 2 ] = fFaktor * (yDiff2*xDiff0p2 - yDiff1*xDiff1p0);
- m_aSecDerivY[ 3 ] = fFaktor * (yDiff0*xDiff1p0 - yDiff2*xDiff2p1);
+ m_aSecDerivY[ 1 ] = fFactor * (yDiff1*xDiff2p1 - yDiff0*xDiff0p2);
+ m_aSecDerivY[ 2 ] = fFactor * (yDiff2*xDiff0p2 - yDiff1*xDiff1p0);
+ m_aSecDerivY[ 3 ] = fFactor * (yDiff0*xDiff1p0 - yDiff2*xDiff2p1);
m_aSecDerivY[ 0 ] = m_aSecDerivY[ 3 ];
}
else if (n==2)