mpx/commonframework/common/src/mpxuser.cpp
branchRCL_3
changeset 56 63223d4fd956
parent 55 6c1dfe4da5dd
--- a/mpx/commonframework/common/src/mpxuser.cpp	Tue Aug 31 15:41:40 2010 +0300
+++ b/mpx/commonframework/common/src/mpxuser.cpp	Wed Sep 01 12:23:05 2010 +0100
@@ -256,7 +256,6 @@
     const TArray<TMPXAttribute>& aSrc,
     RArray<TMPXAttribute>& aDest)
     {
-    CleanupClosePushL(aDest);
     aDest.Reset();
     for (TInt i = 0; i < aSrc.Count(); i++)
         {
@@ -272,7 +271,6 @@
             d = TMPXAttribute(d.ContentId(), d.AttributeId() | s.AttributeId());
             }
         }
-    CleanupStack::Pop();
     }
 
 // ----------------------------------------------------------------------------
@@ -386,7 +384,6 @@
 //
 EXPORT_C void MPXUser::InternalizeL(RArray<TMPXItemId>& aArray, RReadStream& aStream)
     {
-    CleanupClosePushL(aArray);
     TInt n=aStream.ReadInt32L();
     for (TInt i=0;i<n;++i)
         {
@@ -394,7 +391,6 @@
         TUint32 id2(aStream.ReadUint32L());
         aArray.AppendL(TMPXItemId(id1,id2));
         }
-    CleanupStack::Pop();
     }
 
 // ----------------------------------------------------------------------------