emailuis/emailui/src/FreestyleEmailUiCLSListsHandler.cpp
branchRCL_3
changeset 14 b13141f05c3d
parent 8 e1b6206813b4
child 18 6b8f3b30d0ec
equal deleted inserted replaced
13:8592a65ad3fb 14:b13141f05c3d
   118 			// No email, nothing to compare, so add this always to the end of the list
   118 			// No email, nothing to compare, so add this always to the end of the list
   119 			iMatchingMissingEmailContacts.AppendL( aMatches[i] );
   119 			iMatchingMissingEmailContacts.AppendL( aMatches[i] );
   120 			}
   120 			}
   121 		}
   121 		}
   122 		
   122 		
   123 	RPointerArray<CFSEmailUiClsItem> allMatches = ConstructOneListL( iMatchingCompleteContacts,
   123     RPointerArray<CFSEmailUiClsItem> allMatches = ConstructOneListL( iMatchingCompleteContacts,
   124                                                                       iMatchingMRUContacts,
   124                                                                       iMatchingMRUContacts,
   125                                                                       iMatchingMissingEmailContacts );
   125                                                                       iMatchingMissingEmailContacts );
   126 	iClsListObserver->ArrayUpdatedL( allMatches );
   126     CleanupResetAndDestroyClosePushL( allMatches ); // Ownership is taken
   127 	allMatches.ResetAndDestroy();
   127     iClsListObserver->ArrayUpdatedL( allMatches ); 
   128 	}
   128     CleanupStack::PopAndDestroy(&allMatches ); // Array is released, destructors are called 
       
   129     }
   129 
   130 
   130 // -----------------------------------------------------------------------------
   131 // -----------------------------------------------------------------------------
   131 // CFSEmailUiClsListsHandler::InputModeChangedL
   132 // CFSEmailUiClsListsHandler::InputModeChangedL
   132 // -----------------------------------------------------------------------------
   133 // -----------------------------------------------------------------------------
   133 void CFSEmailUiClsListsHandler::InputModeChangedL( TKeyboardModes aNewInputMode )
   134 void CFSEmailUiClsListsHandler::InputModeChangedL( TKeyboardModes aNewInputMode )