diff options
Diffstat (limited to 'chart2/source/view/axes/DateHelper.cxx')
-rw-r--r-- | chart2/source/view/axes/DateHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/axes/DateHelper.cxx b/chart2/source/view/axes/DateHelper.cxx index 6006d3e48bed..f705a7346091 100644 --- a/chart2/source/view/axes/DateHelper.cxx +++ b/chart2/source/view/axes/DateHelper.cxx @@ -68,7 +68,7 @@ bool DateHelper::IsLessThanOneYearAway( const Date& rD1, const Date& rD2 ) double DateHelper::RasterizeDateValue( double fValue, const Date& rNullDate, long TimeResolution ) { - if (rtl::math::isNan(fValue)) + if (std::isnan(fValue)) return fValue; Date aDate(rNullDate); aDate.AddDays(::rtl::math::approxFloor(fValue)); |