diff options
Diffstat (limited to 'vbahelper/source/msforms/vbacontrol.cxx')
-rw-r--r-- | vbahelper/source/msforms/vbacontrol.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vbahelper/source/msforms/vbacontrol.cxx b/vbahelper/source/msforms/vbacontrol.cxx index 1c8e50d6632f..9e6290ddf474 100644 --- a/vbahelper/source/msforms/vbacontrol.cxx +++ b/vbahelper/source/msforms/vbacontrol.cxx @@ -460,7 +460,7 @@ PointerStyles const styles[] = { static long lcl_loPointerToMsoPointer( PointerStyle eType ) { long nRet = msforms::fmMousePointer::fmMousePointerDefault; - for ( int i = 0, nElems = SAL_N_ELEMENTS( styles ); i < nElems; ++i ) + for ( int i = 0; i < int(SAL_N_ELEMENTS( styles )); ++i ) { if ( styles[ i ].loPointStyle == eType ) { @@ -474,7 +474,7 @@ static long lcl_loPointerToMsoPointer( PointerStyle eType ) static Pointer lcl_msoPointerToLOPointer( long msoPointerStyle ) { Pointer aPointer( PointerStyle::Arrow ); - for ( int i = 0, nElems = SAL_N_ELEMENTS( styles ); i < nElems; ++i ) + for ( int i = 0; i < int(SAL_N_ELEMENTS( styles )); ++i ) { if ( styles[ i ].msoPointerStyle == msoPointerStyle ) { |