syncmlfw/common/historylog/src/NSmlHistoryArray.cpp
changeset 73 ae69c2e8bc34
parent 0 b497e44ab2fc
equal deleted inserted replaced
71:d2517372cc44 73:ae69c2e8bc34
   223 	TInt count = aStream.ReadInt32L();
   223 	TInt count = aStream.ReadInt32L();
   224 	
   224 	
   225 	for (TInt i = 0; i < count; i++)
   225 	for (TInt i = 0; i < count; i++)
   226 		{
   226 		{
   227 		CSyncMLHistoryEntry* entry = CSyncMLHistoryEntry::NewL(aStream);
   227 		CSyncMLHistoryEntry* entry = CSyncMLHistoryEntry::NewL(aStream);
       
   228 		CleanupStack::PushL(entry);
   228 		iHistory.AppendL(entry);
   229 		iHistory.AppendL(entry);
       
   230 		CleanupStack::Pop(); // entry   
   229 		}
   231 		}
   230 	}
   232 	}
   231 
   233 
   232 // ---------------------------------------------------------
   234 // ---------------------------------------------------------
   233 // CNSmlHistoryArray::ExternalizeL(RWriteStream& aStream) const
   235 // CNSmlHistoryArray::ExternalizeL(RWriteStream& aStream) const