equal
deleted
inserted
replaced
645 } |
645 } |
646 |
646 |
647 CContactIdArray* CPplContactItemManager::MatchPhoneNumberL(const TDesC& aNumber, TInt aMatchLengthFromRight) |
647 CContactIdArray* CPplContactItemManager::MatchPhoneNumberL(const TDesC& aNumber, TInt aMatchLengthFromRight) |
648 { |
648 { |
649 // Call comm address table |
649 // Call comm address table |
650 return static_cast<CPplCommAddrTable*>(iCommAddrTable)->MatchPhoneNumberL(aNumber, aMatchLengthFromRight); |
650 if (aMatchLengthFromRight == KBestMatchingPhoneNumbers) |
|
651 { |
|
652 return static_cast<CPplCommAddrTable*>(iCommAddrTable)->BestMatchingPhoneNumberL(aNumber); |
|
653 } |
|
654 else |
|
655 { |
|
656 return static_cast<CPplCommAddrTable*>(iCommAddrTable)->MatchPhoneNumberL(aNumber, aMatchLengthFromRight); |
|
657 } |
651 } |
658 } |
652 |
659 |
653 /** |
660 /** |
654 Utility method used to retrieve an array of card template ids |
661 Utility method used to retrieve an array of card template ids |
655 |
662 |