diff options
author | Yukio Siraichi <yukio.siraichi@gmail.com> | 2020-03-12 19:45:07 +0900 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-03-12 20:06:13 +0100 |
commit | c95529ed8eee120c109cd6fc7c94f615606586b0 (patch) | |
tree | aedfdc7ee4ac490d52d22b672b536bda4a322f00 /include/formula | |
parent | 26b84cd8c5d1b0ab8c4cb765bbbaecf3c21e4ed2 (diff) |
tdf#130976 replace `rtl::math::isInf` with `std::inf`.
Change-Id: Id0f0e07b324230d2d69cbf4ab07b0fff5b24474d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90377
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/formula')
-rw-r--r-- | include/formula/errorcodes.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/formula/errorcodes.hxx b/include/formula/errorcodes.hxx index a6095678c0e5..12696bb0579d 100644 --- a/include/formula/errorcodes.hxx +++ b/include/formula/errorcodes.hxx @@ -106,7 +106,7 @@ inline FormulaError GetDoubleErrorValue( double fVal ) { if ( std::isfinite( fVal ) ) return FormulaError::NONE; - if ( ::rtl::math::isInf( fVal ) ) + if ( std::isinf( fVal ) ) return FormulaError::IllegalFPOperation; // normal INF sal_uInt32 nErr = reinterpret_cast< sal_math_Double * >( &fVal)->nan_parts.fraction_lo; if ( nErr & 0xffff0000 ) |