summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/propacc.cxx2
-rw-r--r--basic/source/classes/sbunoobj.cxx2
-rw-r--r--basic/source/comp/symtbl.cxx2
-rw-r--r--basic/source/sbx/sbxarray.cxx4
-rw-r--r--basic/source/sbx/sbxstr.cxx2
5 files changed, 6 insertions, 6 deletions
diff --git a/basic/source/classes/propacc.cxx b/basic/source/classes/propacc.cxx
index 20b1fda7ac6c..adfac826b078 100644
--- a/basic/source/classes/propacc.cxx
+++ b/basic/source/classes/propacc.cxx
@@ -225,7 +225,7 @@ bool PropertySetInfoImpl::hasPropertyByName(const OUString& Name) throw( Runtime
SbPropertySetInfo::SbPropertySetInfo( const SbPropertyValueArr_Impl &rPropVals )
{
aImpl._aProps.realloc( rPropVals.size() );
- for ( sal_uInt16 n = 0; n < rPropVals.size(); ++n )
+ for ( size_t n = 0; n < rPropVals.size(); ++n )
{
Property &rProp = aImpl._aProps.getArray()[n];
const PropertyValue &rPropVal = rPropVals[n];
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 8e9a3d4d94f8..ca2587f3078e 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -2002,7 +2002,7 @@ OUString Impl_DumpMethods( SbUnoObject* pUnoObj )
if( nParamCount > 0 )
{
- for( sal_uInt16 j = 0; j < nParamCount; j++ )
+ for( sal_uInt32 j = 0; j < nParamCount; j++ )
{
aRet.append ( Dbg_SbxDataType2String( unoToSbxType( pParams[ j ] ) ) );
if( j < nParamCount - 1 )
diff --git a/basic/source/comp/symtbl.cxx b/basic/source/comp/symtbl.cxx
index b30173fb48ff..90b555353637 100644
--- a/basic/source/comp/symtbl.cxx
+++ b/basic/source/comp/symtbl.cxx
@@ -249,7 +249,7 @@ sal_uInt32 SbiSymPool::Reference( const OUString& rName )
void SbiSymPool::CheckRefs()
{
- for( sal_uInt16 i = 0; i < aData.size(); i++ )
+ for( size_t i = 0; i < aData.size(); i++ )
{
SbiSymDef &r = aData[ i ];
if( !r.IsDefined() )
diff --git a/basic/source/sbx/sbxarray.cxx b/basic/source/sbx/sbxarray.cxx
index 0d77d4d9a6b8..18b3c6ae2658 100644
--- a/basic/source/sbx/sbxarray.cxx
+++ b/basic/source/sbx/sbxarray.cxx
@@ -63,7 +63,7 @@ SbxArray& SbxArray::operator=( const SbxArray& rArray )
eType = rArray.eType;
Clear();
VarEntriesType* pSrc = rArray.mpVarEntries;
- for( sal_uInt32 i = 0; i < pSrc->size(); i++ )
+ for( size_t i = 0; i < pSrc->size(); i++ )
{
SbxVarEntry* pSrcRef = (*pSrc)[i];
SbxVariableRef pSrc_ = pSrcRef->mpVar;
@@ -325,7 +325,7 @@ void SbxArray::Remove( SbxVariable* pVar )
{
if( pVar )
{
- for( sal_uInt32 i = 0; i < mpVarEntries->size(); i++ )
+ for( size_t i = 0; i < mpVarEntries->size(); i++ )
{
SbxVarEntry* pRef = (*mpVarEntries)[i];
if (&pRef->mpVar == pVar)
diff --git a/basic/source/sbx/sbxstr.cxx b/basic/source/sbx/sbxstr.cxx
index d6b9f30e663f..de1c4858239f 100644
--- a/basic/source/sbx/sbxstr.cxx
+++ b/basic/source/sbx/sbxstr.cxx
@@ -279,7 +279,7 @@ SbxArray* StringToByteArray(const OUString& rStr)
pArray->unoAddDim( 0, -1 );
}
- for( sal_uInt16 i=0; i< nArraySize; i++)
+ for( sal_Int32 i=0; i< nArraySize; i++)
{
SbxVariable* pNew = new SbxVariable( SbxBYTE );
sal_uInt8 aByte = static_cast< sal_uInt8 >( (i%2) ? ((*pSrc) >> 8) & 0xff : (*pSrc) & 0xff );