mpx/collectionframework/collectionengine/src/mpxcollectioncache.cpp
branchRCL_3
changeset 56 63223d4fd956
parent 55 6c1dfe4da5dd
--- a/mpx/collectionframework/collectionengine/src/mpxcollectioncache.cpp	Tue Aug 31 15:41:40 2010 +0300
+++ b/mpx/collectionframework/collectionengine/src/mpxcollectioncache.cpp	Wed Sep 01 12:23:05 2010 +0100
@@ -28,7 +28,6 @@
 #include <mpxcollectionopenlresultdef.h>
 #include <mpxlog.h>
 #include "mpxcollectioncache.h"
-#include <mmf/common/mmfcontrollerpluginresolver.h>
 
 // CONSTANTS
 const TInt KMPXRootNodeId = 0;
@@ -590,7 +589,6 @@
 void CMPXCollectionCacheNode::HandleChangeL( TMPXItemId aChangeItemId, 
                                 RPointerArray<CMPXCollectionCacheNode>& aArray )
     {
-    CleanupResetAndDestroyPushL(aArray); 
     // This node is affected
     // All child nodes are invalid!
     //
@@ -649,7 +647,6 @@
                 } // for
             } // if iResults
         } // if no children
-    CleanupStack::Pop(&aArray); 
     }
     
 // ----------------------------------------------------------------------------
@@ -830,7 +827,6 @@
     // O(n^2) complexity here is OK, Merging keeps the number of items 
     // very small. Less than 3 items are alive at a time
     //
-    CleanupClosePushL( aArray );
     RArray<TMPXOpenDataBlock> newArray;
     CleanupClosePushL( newArray );
     
@@ -873,7 +869,6 @@
         MPX_DEBUG3("Order: %i %i", newArray[i].iOffset, newArray[i].iSize );
         }
     CleanupStack::PopAndDestroy( &newArray );
-    CleanupStack::Pop(); 
     }
                                  
 #ifdef _DEBUG