summaryrefslogtreecommitdiff
path: root/vcl/source/control/spinbtn.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/spinbtn.cxx')
-rw-r--r--vcl/source/control/spinbtn.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/control/spinbtn.cxx b/vcl/source/control/spinbtn.cxx
index 531c90222233..db8ca2b13e8f 100644
--- a/vcl/source/control/spinbtn.cxx
+++ b/vcl/source/control/spinbtn.cxx
@@ -334,12 +334,12 @@ void SpinButton::StateChanged( StateChangedType nType )
Control::StateChanged( nType );
}
-void SpinButton::SetRangeMin( long nNewRange )
+void SpinButton::SetRangeMin( tools::Long nNewRange )
{
SetRange( Range( nNewRange, GetRangeMax() ) );
}
-void SpinButton::SetRangeMax( long nNewRange )
+void SpinButton::SetRangeMax( tools::Long nNewRange )
{
SetRange( Range( GetRangeMin(), nNewRange ) );
}
@@ -349,8 +349,8 @@ void SpinButton::SetRange( const Range& rRange )
// adjust rage
Range aRange = rRange;
aRange.Justify();
- long nNewMinRange = aRange.Min();
- long nNewMaxRange = aRange.Max();
+ tools::Long nNewMinRange = aRange.Min();
+ tools::Long nNewMaxRange = aRange.Max();
// do something only if old and new range differ
if ( (mnMinRange == nNewMinRange) && (mnMaxRange == nNewMaxRange))
@@ -368,7 +368,7 @@ void SpinButton::SetRange( const Range& rRange )
CompatStateChanged( StateChangedType::Data );
}
-void SpinButton::SetValue( long nValue )
+void SpinButton::SetValue( tools::Long nValue )
{
// adjust, if necessary
if ( nValue > mnMaxRange )