summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorYukio Siraichi <yukio.siraichi@gmail.com>2020-03-12 19:45:07 +0900
committerMike Kaganski <mike.kaganski@collabora.com>2020-03-12 20:06:13 +0100
commitc95529ed8eee120c109cd6fc7c94f615606586b0 (patch)
treeaedfdc7ee4ac490d52d22b672b536bda4a322f00 /forms
parent26b84cd8c5d1b0ab8c4cb765bbbaecf3c21e4ed2 (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 'forms')
-rw-r--r--forms/source/component/scrollbar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/scrollbar.cxx b/forms/source/component/scrollbar.cxx
index 6520ce235f31..364d1823f918 100644
--- a/forms/source/component/scrollbar.cxx
+++ b/forms/source/component/scrollbar.cxx
@@ -51,7 +51,7 @@ namespace frm
double nExternalValue = 0;
if ( _rExternalValue >>= nExternalValue )
{
- if ( ::rtl::math::isInf( nExternalValue ) )
+ if ( std::isinf( nExternalValue ) )
{
// set the minimum or maximum of the scroll values
OUString sLimitPropertyName = ::rtl::math::isSignBitSet( nExternalValue )