summaryrefslogtreecommitdiff
path: root/idl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-31 21:47:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-31 21:47:06 +0000
commit9d260aa257b18dcda364077c1fa00be290e8c992 (patch)
treec722791a3bb098bbbe68c5ef85d56157ac25c89d /idl/source
parentc1a5082b207742c028609a7906bd33cdaf01a809 (diff)
WaE: remove new warnings post DECLARE_LIST removal
Diffstat (limited to 'idl/source')
-rw-r--r--idl/source/objects/object.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx
index 1ccbf99c65..11f4f7edaa 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);
}