From c1df3a34dd3243fbbef503eb28e239df5d4a18b7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 9 Oct 2015 09:30:54 +0200 Subject: loplugin:literaltoboolconversion Change-Id: Ie2d1b466f5773799347aac59d7b5dc25f283b920 --- chart2/source/tools/ExponentialRegressionCurveCalculator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart2/source/tools/ExponentialRegressionCurveCalculator.cxx') 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 ) -- cgit