mmsengine/mmsmessage/src/mmsownnumber.cpp
branchRCL_3
changeset 26 ebe688cedc25
parent 2 0bf1d54f37d9
child 27 7fdbb852d323
equal deleted inserted replaced
25:fa1df4b99609 26:ebe688cedc25
   250         }
   250         }
   251     else
   251     else
   252         {
   252         {
   253         // we found at least one match.
   253         // we found at least one match.
   254         // What do we do now...
   254         // What do we do now...
   255         // Analyse the result in detail or just say "This is our own number"...
   255         // Analyze the result in detail or just say "This is our own number"...
   256         
   256         
   257         // First approximation: Say this is our own.
   257         // First approximation: Say this is our own.
   258         // Actually exact match cases should be checked, too (short number)
   258         // Actually exact match cases should be checked, too (short number)
   259         // And possible email match, but that needs a different search function
   259         // And possible email match, but that needs a different search function
   260                 
   260                 
   519     
   519     
   520     if (  iContactToMatch < count )
   520     if (  iContactToMatch < count )
   521         {
   521         {
   522         iMatch = EFalse;
   522         iMatch = EFalse;
   523         iState = EMmsOwnNumberSearching;
   523         iState = EMmsOwnNumberSearching;
   524 		// Coverty fix, Forward NULL
   524         iOperation = iContactManager->RetrieveContactL(
   525         if(iResultArray)
       
   526         	{
       
   527         	iOperation = iContactManager->RetrieveContactL(
       
   528                 iResultArray->At( iContactToMatch ),
   525                 iResultArray->At( iContactToMatch ),
   529                 *this);
   526                 *this);
   530             }
       
   531         iStatus = KRequestPending;
   527         iStatus = KRequestPending;
   532         SetActive();
   528         SetActive();
   533         }
   529         }
   534     else
   530     else
   535         {
   531         {