diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-31 21:47:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-31 21:47:06 +0000 |
commit | 56db3e8789d21ba1db4a313e61033cb1c27f4f03 (patch) | |
tree | 0c9aafe4a8af4cf993a3de042d9342e257cc69aa /idl/source | |
parent | 91b2b268f01201ed097750dc16748419b86e6e37 (diff) |
WaE: remove new warnings post DECLARE_LIST removal
Diffstat (limited to 'idl/source')
-rw-r--r-- | idl/source/objects/object.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx index cbe0371bc24b..5dc03838ef3a 100644 --- a/idl/source/objects/object.cxx +++ b/idl/source/objects/object.cxx @@ -698,8 +698,7 @@ void SvMetaClass::WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm ) SvMetaClassList classList; SvSlotElementList aSlotList; InsertSlots(aSlotList, aSuperList, classList, ByteString(), rBase); - ULONG n; - for ( n=0; n<aSlotList.Count(); n++ ) + for (ULONG n=0; n<aSlotList.Count(); n++ ) { SvSlotElement *pEle = aSlotList.GetObject( n ); SvMetaSlot *pSlot = pEle->xSlot; @@ -748,7 +747,7 @@ void SvMetaClass::WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm ) } rOutStm << endl << "};" << endl << "#endif" << endl << endl; - for( n=0; n<aSlotList.Count(); n++ ) + for( ULONG n=0; n<aSlotList.Count(); n++ ) { aSlotList.Seek(n); SvSlotElement* pEle = aSlotList.GetCurObject(); @@ -756,7 +755,7 @@ void SvMetaClass::WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm ) pAttr->ResetSlotPointer(); } - for ( n=0; n<aSlotList.Count(); n++ ) + for ( ULONG n=0; n<aSlotList.Count(); n++ ) delete aSlotList.GetObject(n); } |