summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/standardcontrol.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/standardcontrol.cxx')
-rw-r--r--extensions/source/propctrlr/standardcontrol.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx
index c07959322c3f..1b60b7f57a7c 100644
--- a/extensions/source/propctrlr/standardcontrol.cxx
+++ b/extensions/source/propctrlr/standardcontrol.cxx
@@ -233,8 +233,8 @@ namespace pcr
for ( sal_uInt16 d = 0; d < nDigits; ++d )
n *= 10;
- if ( n > ::std::numeric_limits< long >::max() )
- return ::std::numeric_limits< long >::max();
+ if ( n > std::numeric_limits< long >::max() )
+ return std::numeric_limits< long >::max();
return (long)n;
}
@@ -504,7 +504,7 @@ namespace pcr
Optional< double > aReturn( true, 0 );
sal_Int64 minValue = getTypedControlWindow()->GetMin();
- if ( minValue == ::std::numeric_limits< sal_Int64 >::min() )
+ if ( minValue == std::numeric_limits< sal_Int64 >::min() )
aReturn.IsPresent = false;
else
aReturn.Value = (double)minValue;
@@ -516,7 +516,7 @@ namespace pcr
void SAL_CALL ONumericControl::setMinValue( const Optional< double >& _minvalue )
{
if ( !_minvalue.IsPresent )
- getTypedControlWindow()->SetMin( ::std::numeric_limits< sal_Int64 >::min() );
+ getTypedControlWindow()->SetMin( std::numeric_limits< sal_Int64 >::min() );
else
getTypedControlWindow()->SetMin( impl_apiValueToFieldValue_nothrow( _minvalue.Value ) , m_eValueUnit);
}
@@ -527,7 +527,7 @@ namespace pcr
Optional< double > aReturn( true, 0 );
sal_Int64 maxValue = getTypedControlWindow()->GetMax();
- if ( maxValue == ::std::numeric_limits< sal_Int64 >::max() )
+ if ( maxValue == std::numeric_limits< sal_Int64 >::max() )
aReturn.IsPresent = false;
else
aReturn.Value = (double)maxValue;
@@ -539,7 +539,7 @@ namespace pcr
void SAL_CALL ONumericControl::setMaxValue( const Optional< double >& _maxvalue )
{
if ( !_maxvalue.IsPresent )
- getTypedControlWindow()->SetMax( ::std::numeric_limits< sal_Int64 >::max() );
+ getTypedControlWindow()->SetMax( std::numeric_limits< sal_Int64 >::max() );
else
getTypedControlWindow()->SetMax( impl_apiValueToFieldValue_nothrow( _maxvalue.Value ), m_eValueUnit );
}