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 /chart2/source/tools/InternalDataProvider.cxx | |
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 'chart2/source/tools/InternalDataProvider.cxx')
-rw-r--r-- | chart2/source/tools/InternalDataProvider.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/InternalDataProvider.cxx b/chart2/source/tools/InternalDataProvider.cxx index 9a9d2db8188a..a02c9e79a324 100644 --- a/chart2/source/tools/InternalDataProvider.cxx +++ b/chart2/source/tools/InternalDataProvider.cxx @@ -1486,7 +1486,7 @@ double SAL_CALL InternalDataProvider::getNotANumber() sal_Bool SAL_CALL InternalDataProvider::isNotANumber( double nNumber ) { return ::rtl::math::isNan( nNumber ) - || ::rtl::math::isInf( nNumber ); + || std::isinf( nNumber ); } // lang::XInitialization: void SAL_CALL InternalDataProvider::initialize(const uno::Sequence< uno::Any > & _aArguments) |