chart2/source/tools/ExponentialRegressionCurveCalculator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c1df3a34dd3243fbbef503eb28e239df5d4a18b7 Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Oct 9 09:30:54 2015 +0200 loplugin:literaltoboolconversion Change-Id: Ie2d1b466f5773799347aac59d7b5dc25f283b920 diff --git a/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx b/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx index d5c8ed0..0c79ff4 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 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits