summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-10-01 12:50:37 +0200
committerjan iversen <jani@documentfoundation.org>2016-10-03 13:43:44 +0000
commit8f9af8dd970d8e2a620beb35a6ce145d65d18df5 (patch)
tree524156dacadfb67a487480ae8e0dd6422676e847 /chart2
parent0c29c153465f80085e0c4ec0fe36e42e10ed4fb4 (diff)
Fix typos
Change-Id: Ie44267e7c9f92eb1920f05235826abff761251f1 Reviewed-on: https://gerrit.libreoffice.org/29430 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/tools/ExponentialRegressionCurveCalculator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx b/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx
index 7b6250428148..491f43af243f 100644
--- a/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx
+++ b/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx
@@ -171,7 +171,7 @@ OUString ExponentialRegressionCurveCalculator::ImplGetRepresentation(
if ( m_fSign < 0.0 )
nCharMin += 2;
if ( fIntercept == 0.0 || ( !bHasSlope && m_fLogIntercept != 0.0 ) )
- nCharMin += 3; // " + " special case where equation is writen exp( a + b x )
+ nCharMin += 3; // " + " special case where equation is written exp( a + b x )
if ( ( bHasIntercept || fIntercept == 0.0 || ( !bHasSlope && m_fLogIntercept != 0.0 ) ) &&
bHasLogSlope )
nValueLength = ( *pFormulaMaxWidth - nCharMin ) / 2;