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 ) |