Kaydet (Commit) c1df3a34 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:literaltoboolconversion

Change-Id: Ie2d1b466f5773799347aac59d7b5dc25f283b920
üst 6b4c435b
...@@ -177,7 +177,7 @@ OUString ExponentialRegressionCurveCalculator::ImplGetRepresentation( ...@@ -177,7 +177,7 @@ OUString ExponentialRegressionCurveCalculator::ImplGetRepresentation(
( !bHasSlope && m_fLogIntercept != 0.0 ) ) // show logarithmic output, if intercept and slope both are near one ( !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 { // otherwise drop output of intercept, which is 1 here
aBuf.append( getFormattedString( xNumFormatter, nNumberFormatKey, m_fLogIntercept) ); 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 ) if ( m_fLogSlope < 0.0 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment