summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYukio Siraichi <yukio.siraichi@gmail.com>2020-03-13 15:41:40 +0900
committerMike Kaganski <mike.kaganski@collabora.com>2020-03-14 09:19:00 +0100
commit3bf3face224a7e12ba95888821a0ac21525af22c (patch)
tree93908386dd614404e46898ae16ee179549a1a0f9 /test
parent8f8b64cad377c6d767cdf291fd00225658bd02c5 (diff)
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 <mike.kaganski@collabora.com>
Diffstat (limited to 'test')
-rw-r--r--test/source/diff/diff.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/diff/diff.cxx b/test/source/diff/diff.cxx
index 19a334cc8222..e0ba939d4964 100644
--- a/test/source/diff/diff.cxx
+++ b/test/source/diff/diff.cxx
@@ -302,7 +302,7 @@ bool XMLDiff::compareAttributes(xmlNodePtr node1, xmlNodePtr node2)
double dVal1 = xmlXPathCastStringToNumber(val1);
double dVal2 = xmlXPathCastStringToNumber(val2);
- if(!rtl::math::isNan(dVal1) || !rtl::math::isNan(dVal2))
+ if(!std::isnan(dVal1) || !std::isnan(dVal2))
{
//compare by value and respect tolerance
tolerance tol;