diff options
Diffstat (limited to 'chart2/source/tools/PotentialRegressionCurveCalculator.cxx')
-rw-r--r-- | chart2/source/tools/PotentialRegressionCurveCalculator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/tools/PotentialRegressionCurveCalculator.cxx b/chart2/source/tools/PotentialRegressionCurveCalculator.cxx index abda608a3c34..5ced438e1a3f 100644 --- a/chart2/source/tools/PotentialRegressionCurveCalculator.cxx +++ b/chart2/source/tools/PotentialRegressionCurveCalculator.cxx @@ -104,8 +104,8 @@ double SAL_CALL PotentialRegressionCurveCalculator::getCurveValue( double x ) double fResult; ::rtl::math::setNan( & fResult ); - if( ! ( ::rtl::math::isNan( m_fSlope ) || - ::rtl::math::isNan( m_fIntercept ))) + if( ! ( std::isnan( m_fSlope ) || + std::isnan( m_fIntercept ))) { fResult = m_fIntercept * pow( x, m_fSlope ); } |