summaryrefslogtreecommitdiff
path: root/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-09 09:30:54 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-09 09:30:54 +0200
commitc1df3a34dd3243fbbef503eb28e239df5d4a18b7 (patch)
tree51709aad7c90d8d4ad929705b0c069a4d3985284 /chart2/source/tools/ExponentialRegressionCurveCalculator.cxx
parent6b4c435b1b642eee249dfd6212f161c6f8398d95 (diff)
loplugin:literaltoboolconversion
Change-Id: Ie2d1b466f5773799347aac59d7b5dc25f283b920
Diffstat (limited to 'chart2/source/tools/ExponentialRegressionCurveCalculator.cxx')
-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 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 )