--- a/phonebookengines/contactsmodel/cntplsql/src/pplcontactitemmanager.cpp Wed Apr 14 15:45:35 2010 +0300
+++ b/phonebookengines/contactsmodel/cntplsql/src/pplcontactitemmanager.cpp Tue Apr 27 16:23:35 2010 +0300
@@ -571,7 +571,14 @@
CContactIdArray* CPplContactItemManager::MatchPhoneNumberL(const TDesC& aNumber, TInt aMatchLengthFromRight)
{
// Call comm address table
- return static_cast<CPplCommAddrTable*>(iCommAddrTable)->MatchPhoneNumberL(aNumber, aMatchLengthFromRight);
+ if (aMatchLengthFromRight == KBestMatchingPhoneNumbers)
+ {
+ return static_cast<CPplCommAddrTable*>(iCommAddrTable)->BestMatchingPhoneNumberL(aNumber);
+ }
+ else
+ {
+ return static_cast<CPplCommAddrTable*>(iCommAddrTable)->MatchPhoneNumberL(aNumber, aMatchLengthFromRight);
+ }
}
/**