summaryrefslogtreecommitdiff
path: root/chart2/source/tools/LogarithmicRegressionCurveCalculator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/tools/LogarithmicRegressionCurveCalculator.cxx')
-rw-r--r--chart2/source/tools/LogarithmicRegressionCurveCalculator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/tools/LogarithmicRegressionCurveCalculator.cxx b/chart2/source/tools/LogarithmicRegressionCurveCalculator.cxx
index d164918970ba..3c486411b37f 100644
--- a/chart2/source/tools/LogarithmicRegressionCurveCalculator.cxx
+++ b/chart2/source/tools/LogarithmicRegressionCurveCalculator.cxx
@@ -92,8 +92,8 @@ double SAL_CALL LogarithmicRegressionCurveCalculator::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_fSlope * log( x ) + m_fIntercept;
}