[Libreoffice-commits] .: idl/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Dec 31 13:47:17 PST 2010
idl/source/objects/object.cxx | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
New commits:
commit 9d260aa257b18dcda364077c1fa00be290e8c992
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Dec 31 21:47:06 2010 +0000
WaE: remove new warnings post DECLARE_LIST removal
diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx
index 1ccbf99..11f4f7e 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);
}
More information about the Libreoffice-commits
mailing list