phonebookengines/VirtualPhonebook/VPbkCntModel/src/CRefineView.cpp
branchRCL_3
changeset 32 2828b4d142c0
parent 0 e686773b3f54
child 64 c1e8ba0c2b16
equal deleted inserted replaced
26:0d28c1c5b6dd 32:2828b4d142c0
    74 // --------------------------------------------------------------------------
    74 // --------------------------------------------------------------------------
    75 //
    75 //
    76 void CRefineView::MatchL( 
    76 void CRefineView::MatchL( 
    77         RPointerArray<CCntModelViewContact>& aMatchedContacts )
    77         RPointerArray<CCntModelViewContact>& aMatchedContacts )
    78     {
    78     {
       
    79     CleanupClosePushL( aMatchedContacts ); 
    79     if ( iIdleUpdate )
    80     if ( iIdleUpdate )
    80         {
    81         {
    81         iIdleUpdate->Cancel();
    82         iIdleUpdate->Cancel();
    82         }
    83         }
    83         
    84         
    96             CCntModelViewContact* nativeContact = 
    97             CCntModelViewContact* nativeContact = 
    97                 const_cast<CCntModelViewContact*>( candidate.NativeContact() );
    98                 const_cast<CCntModelViewContact*>( candidate.NativeContact() );
    98             aMatchedContacts.AppendL( nativeContact );
    99             aMatchedContacts.AppendL( nativeContact );
    99             }
   100             }
   100         }    
   101         }    
       
   102     CleanupStack::Pop();
   101     }
   103     }
   102 
   104 
   103 // --------------------------------------------------------------------------
   105 // --------------------------------------------------------------------------
   104 // CRefineView::DoContactAddedToViewL
   106 // CRefineView::DoContactAddedToViewL
   105 // --------------------------------------------------------------------------
   107 // --------------------------------------------------------------------------