summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-28 14:29:05 +0200
committerNoel Grandin <noel@peralex.com>2015-05-29 08:48:41 +0200
commitafcf1ecee1af1312551583b9fc860c1881ba2134 (patch)
tree5b932308905d86f01f9f73aec0ae0d95836079c3 /idl
parentabb774722230ce2b55f2e1f1528fcd0514ba83e1 (diff)
loplugin:loopvartoosmall
Change-Id: I1e9768c08af0bc7caac6a39c13842ee9d8ad962c
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];