uifw/AvKon/aknhlist/src/akntree.cpp
branchRCL_3
changeset 9 0aa5fbdfbc30
parent 7 08e69e956a8c
child 19 aecbbf00d063
equal deleted inserted replaced
8:71dd06cfe933 9:0aa5fbdfbc30
   778 // ---------------------------------------------------------------------------
   778 // ---------------------------------------------------------------------------
   779 //
   779 //
   780 void CAknTree::GetMarkedItemsL( TAknTreeItemID aNode,
   780 void CAknTree::GetMarkedItemsL( TAknTreeItemID aNode,
   781     RArray<TAknTreeItemID>& aMarkedItems ) const
   781     RArray<TAknTreeItemID>& aMarkedItems ) const
   782     {
   782     {
       
   783     ::CleanupClosePushL(aMarkedItems);
   783     aMarkedItems.Reset();
   784     aMarkedItems.Reset();
   784     if ( aNode == KAknTreeIIDRoot )
   785     if ( aNode == KAknTreeIIDRoot )
   785         {
   786         {
   786         // Get marked items from the tree by iterating through array.
   787         // Get marked items from the tree by iterating through array.
   787         CAknTreeItem* item = NULL;
   788         CAknTreeItem* item = NULL;
   809                 {
   810                 {
   810                 aMarkedItems.AppendL( Id( item ) );
   811                 aMarkedItems.AppendL( Id( item ) );
   811                 }
   812                 }
   812             }
   813             }
   813         }
   814         }
       
   815 	CleanupStack::Pop(&aMarkedItems);
   814     }
   816     }
   815 
   817 
   816 
   818 
   817 // ---------------------------------------------------------------------------
   819 // ---------------------------------------------------------------------------
   818 // Checks whether the specified node is empty.
   820 // Checks whether the specified node is empty.