From 3bf3face224a7e12ba95888821a0ac21525af22c Mon Sep 17 00:00:00 2001 From: Yukio Siraichi Date: Fri, 13 Mar 2020 15:41:40 +0900 Subject: tdf#130975 replace `rtl::math::isNan` with `std::isnan`. Change-Id: I5d53e6369d35093445b2efd8936bbf8c6775ff47 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90451 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- sal/rtl/math.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sal/rtl') diff --git a/sal/rtl/math.cxx b/sal/rtl/math.cxx index d35156aa79e6..135035e01138 100644 --- a/sal/rtl/math.cxx +++ b/sal/rtl/math.cxx @@ -241,7 +241,7 @@ void doubleToString(typename T::String ** pResult, if (bSign) fValue = -fValue; - if (rtl::math::isNan(fValue)) + if (std::isnan(fValue)) { // #i112652# XMLSchema-2 sal_Int32 nCapacity = RTL_CONSTASCII_LENGTH("NaN"); -- cgit