diff options
author | Andreas Bregas <ab@openoffice.org> | 2010-08-19 14:39:47 +0200 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2010-08-19 14:39:47 +0200 |
commit | c8a732ca766d1367d95a856a2401654211c8736f (patch) | |
tree | db0b259a93859c617d39e5c8343984b4384bbb9a /basic/source/runtime/methods1.cxx | |
parent | 8834a4391c31502aabe137834ed852aa6b620287 (diff) |
mib19: #163327# Removed warning
Diffstat (limited to 'basic/source/runtime/methods1.cxx')
-rwxr-xr-x | basic/source/runtime/methods1.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx index 9785f845125d..a59a7d25b54a 100755 --- a/basic/source/runtime/methods1.cxx +++ b/basic/source/runtime/methods1.cxx @@ -217,14 +217,14 @@ RTLFUNC(CallByName) // Setup parameters SbxArrayRef xArray; - sal_Int32 nMethParamCount = nParCount - 4; + USHORT nMethParamCount = nParCount - 4; if( nMethParamCount > 0 ) { xArray = new SbxArray; - for( sal_Int32 i = 0 ; i < nMethParamCount ; i++ ) + for( USHORT i = 0 ; i < nMethParamCount ; i++ ) { SbxVariable* pPar = rPar.Get( i + 4 ); - xArray->Put( pPar, sal::static_int_cast< USHORT >(i+1) ); + xArray->Put( pPar, i + 1 ); } } |