diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-09 09:30:54 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-09 09:30:54 +0200 |
commit | c1df3a34dd3243fbbef503eb28e239df5d4a18b7 (patch) | |
tree | 51709aad7c90d8d4ad929705b0c069a4d3985284 /chart2 | |
parent | 6b4c435b1b642eee249dfd6212f161c6f8398d95 (diff) |
loplugin:literaltoboolconversion
Change-Id: Ie2d1b466f5773799347aac59d7b5dc25f283b920
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/tools/ExponentialRegressionCurveCalculator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx b/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx index d5c8ed0656af..0c79ff4cef27 100644 --- a/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx +++ b/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx @@ -177,7 +177,7 @@ OUString ExponentialRegressionCurveCalculator::ImplGetRepresentation( ( !bHasSlope && m_fLogIntercept != 0.0 ) ) // show logarithmic output, if intercept and slope both are near one { // otherwise drop output of intercept, which is 1 here aBuf.append( getFormattedString( xNumFormatter, nNumberFormatKey, m_fLogIntercept) ); - aBuf.append( (m_fLogSlope < 0.0) ? " " : " + "); + aBuf.append( (m_fLogSlope < 0.0) ? OUStringLiteral(" ") : OUStringLiteral(" + ")); } } if ( m_fLogSlope < 0.0 ) |