equal
deleted
inserted
replaced
569 } |
569 } |
570 |
570 |
571 CContactIdArray* CPplContactItemManager::MatchPhoneNumberL(const TDesC& aNumber, TInt aMatchLengthFromRight) |
571 CContactIdArray* CPplContactItemManager::MatchPhoneNumberL(const TDesC& aNumber, TInt aMatchLengthFromRight) |
572 { |
572 { |
573 // Call comm address table |
573 // Call comm address table |
574 return static_cast<CPplCommAddrTable*>(iCommAddrTable)->MatchPhoneNumberL(aNumber, aMatchLengthFromRight); |
574 if (aMatchLengthFromRight == KBestMatchingPhoneNumbers) |
|
575 { |
|
576 return static_cast<CPplCommAddrTable*>(iCommAddrTable)->BestMatchingPhoneNumberL(aNumber); |
|
577 } |
|
578 else |
|
579 { |
|
580 return static_cast<CPplCommAddrTable*>(iCommAddrTable)->MatchPhoneNumberL(aNumber, aMatchLengthFromRight); |
|
581 } |
575 } |
582 } |
576 |
583 |
577 /** |
584 /** |
578 Utility method used to retrieve an array of card template ids |
585 Utility method used to retrieve an array of card template ids |
579 |
586 |