equal
deleted
inserted
replaced
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 // Analyze the result in detail or just say "This is our own number"... |
255 // Analyse 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 iOperation = iContactManager->RetrieveContactL( |
524 // Coverty fix, Forward NULL |
|
525 if(iResultArray) |
|
526 { |
|
527 iOperation = iContactManager->RetrieveContactL( |
525 iResultArray->At( iContactToMatch ), |
528 iResultArray->At( iContactToMatch ), |
526 *this); |
529 *this); |
|
530 } |
527 iStatus = KRequestPending; |
531 iStatus = KRequestPending; |
528 SetActive(); |
532 SetActive(); |
529 } |
533 } |
530 else |
534 else |
531 { |
535 { |