summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
Diffstat (limited to 'idl')
-rw-r--r--idl/source/objects/object.cxx2
-rw-r--r--idl/source/objects/types.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx
index 320faa9d3ffe..4f09643363c6 100644
--- a/idl/source/objects/object.cxx
+++ b/idl/source/objects/object.cxx
@@ -338,7 +338,7 @@ void SvMetaClass::FillClasses( SvMetaClassList & rList )
rList.push_back( this );
// my imports
- for( sal_uInt32 n = 0; n < aClassList.size(); n++ )
+ for( size_t n = 0; n < aClassList.size(); n++ )
{
SvClassElement * pEle = aClassList[n];
SvMetaClass * pCl = pEle->GetClass();
diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx
index 73bef4f5f3af..f7821911b6a0 100644
--- a/idl/source/objects/types.cxx
+++ b/idl/source/objects/types.cxx
@@ -771,7 +771,7 @@ OString SvMetaAttribute::Compare( SvMetaAttribute* pAttr )
}
else
{
- for ( sal_uInt16 n=0; n<nCount; n++ )
+ for ( sal_uLong n=0; n<nCount; n++ )
{
SvMetaAttribute *pAttr1 = rList[n];
SvMetaAttribute *pAttr2 = rOtherList[n];