diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-28 14:29:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-29 08:48:41 +0200 |
commit | afcf1ecee1af1312551583b9fc860c1881ba2134 (patch) | |
tree | 5b932308905d86f01f9f73aec0ae0d95836079c3 /idl | |
parent | abb774722230ce2b55f2e1f1528fcd0514ba83e1 (diff) |
loplugin:loopvartoosmall
Change-Id: I1e9768c08af0bc7caac6a39c13842ee9d8ad962c
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/objects/object.cxx | 2 | ||||
-rw-r--r-- | idl/source/objects/types.cxx | 2 |
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]; |