diff options
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/tools/PolynomialRegressionCurveCalculator.cxx | 4 |
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 ++; |