WaE: remove new warnings post DECLARE_LIST removal

This commit is contained in:
Caolán McNamara 2010-12-31 21:47:06 +00:00
parent 91b2b268f0
commit 56db3e8789

View file

@ -698,8 +698,7 @@ void SvMetaClass::WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm )
SvMetaClassList classList; SvMetaClassList classList;
SvSlotElementList aSlotList; SvSlotElementList aSlotList;
InsertSlots(aSlotList, aSuperList, classList, ByteString(), rBase); InsertSlots(aSlotList, aSuperList, classList, ByteString(), rBase);
ULONG n; for (ULONG n=0; n<aSlotList.Count(); n++ )
for ( n=0; n<aSlotList.Count(); n++ )
{ {
SvSlotElement *pEle = aSlotList.GetObject( n ); SvSlotElement *pEle = aSlotList.GetObject( n );
SvMetaSlot *pSlot = pEle->xSlot; SvMetaSlot *pSlot = pEle->xSlot;
@ -748,7 +747,7 @@ void SvMetaClass::WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm )
} }
rOutStm << endl << "};" << endl << "#endif" << endl << endl; rOutStm << endl << "};" << endl << "#endif" << endl << endl;
for( n=0; n<aSlotList.Count(); n++ ) for( ULONG n=0; n<aSlotList.Count(); n++ )
{ {
aSlotList.Seek(n); aSlotList.Seek(n);
SvSlotElement* pEle = aSlotList.GetCurObject(); SvSlotElement* pEle = aSlotList.GetCurObject();
@ -756,7 +755,7 @@ void SvMetaClass::WriteSfx( SvIdlDataBase & rBase, SvStream & rOutStm )
pAttr->ResetSlotPointer(); pAttr->ResetSlotPointer();
} }
for ( n=0; n<aSlotList.Count(); n++ ) for ( ULONG n=0; n<aSlotList.Count(); n++ )
delete aSlotList.GetObject(n); delete aSlotList.GetObject(n);
} }