diff options
Diffstat (limited to 'chart2/source/tools/ExponentialRegressionCurveCalculator.cxx')
-rw-r--r-- | chart2/source/tools/ExponentialRegressionCurveCalculator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx b/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx index 2c2b81359355..600afa76c09b 100644 --- a/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx +++ b/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx @@ -115,8 +115,8 @@ double SAL_CALL ExponentialRegressionCurveCalculator::getCurveValue( double x ) double fResult; ::rtl::math::setNan( & fResult ); - if( ! ( ::rtl::math::isNan( m_fLogSlope ) || - ::rtl::math::isNan( m_fLogIntercept ))) + if( ! ( std::isnan( m_fLogSlope ) || + std::isnan( m_fLogIntercept ))) { fResult = m_fSign * exp(m_fLogIntercept + x * m_fLogSlope); } |