summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-12-19 09:43:20 +0100
committerJulien Nabet <serval2412@yahoo.fr>2019-12-19 10:24:37 +0100
commit63806805fe42dd4f65d218bdb341000f3bc27ec8 (patch)
tree7dcc1e162d0ca39bd772a14bb0c6b6e6928d9ff0 /chart2
parent7ac769c1a915ea33d997f452f3b86eb11fa00c8a (diff)
Fix typo
Change-Id: If7c72942e008d8197dd2e1a2216421925518bc56 Reviewed-on: https://gerrit.libreoffice.org/85483 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/tools/PolynomialRegressionCurveCalculator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx b/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx
index c1e17594a316..c06a04ab0d96 100644
--- a/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx
+++ b/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx
@@ -305,12 +305,12 @@ OUString PolynomialRegressionCurveCalculator::ImplGetRepresentation(
{
double aValue = mCoefficients[i];
if ( aValue == 0.0 )
- { // do not count coeffitient if it is 0
+ { // do not count coefficient if it is 0
nCoefficients --;
continue;
}
if ( rtl::math::approxEqual( fabs( aValue ) , 1.0 ) )
- { // do not count coeffitient if it is 1
+ { // do not count coefficient if it is 1
nCoefficients --;
if ( i == 0 ) // intercept = 1
nCharMin ++;