diff options
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/scrollbar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/scrollbar.cxx b/forms/source/component/scrollbar.cxx index 364d1823f918..4e18dd69ec56 100644 --- a/forms/source/component/scrollbar.cxx +++ b/forms/source/component/scrollbar.cxx @@ -54,7 +54,7 @@ namespace frm if ( std::isinf( nExternalValue ) ) { // set the minimum or maximum of the scroll values - OUString sLimitPropertyName = ::rtl::math::isSignBitSet( nExternalValue ) + OUString sLimitPropertyName = std::signbit( nExternalValue ) ? _rMinValueName : _rMaxValueName; if ( _rxProperties.is() ) _rxProperties->getPropertyValue( sLimitPropertyName ) >>= nControlValue; |