diff options
Diffstat (limited to 'svx/source/stbctrls/zoomsliderctrl.cxx')
-rw-r--r-- | svx/source/stbctrls/zoomsliderctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/stbctrls/zoomsliderctrl.cxx b/svx/source/stbctrls/zoomsliderctrl.cxx index 0bb522c5d5dc..81f2b23f8476 100644 --- a/svx/source/stbctrls/zoomsliderctrl.cxx +++ b/svx/source/stbctrls/zoomsliderctrl.cxx @@ -218,7 +218,7 @@ void SvxZoomSliderControl::StateChanged( sal_uInt16 /*nSID*/, SfxItemState eStat // get all snapping points: std::set< sal_uInt16 > aTmpSnappingPoints; - for ( sal_uInt16 j = 0; j < rSnappingPoints.getLength(); ++j ) + for ( sal_Int32 j = 0; j < rSnappingPoints.getLength(); ++j ) { const sal_Int32 nSnappingPoint = rSnappingPoints[j]; aTmpSnappingPoints.insert( (sal_uInt16)nSnappingPoint ); |