diff options
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx')
-rw-r--r-- | chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx index 4493a48c647d..36b3ea04246a 100644 --- a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx @@ -547,7 +547,7 @@ double SAL_CALL ChartDataWrapper::getNotANumber() sal_Bool SAL_CALL ChartDataWrapper::isNotANumber( double nNumber ) { - return DBL_MIN == nNumber + return nNumber == DBL_MIN || ::rtl::math::isNan( nNumber ) || ::rtl::math::isInf( nNumber ); } |