phonebookengines/contactsmodel/cntplsql/src/pplcontactitemmanager.cpp
branchRCL_3
changeset 9 0d28c1c5b6dd
parent 0 e686773b3f54
equal deleted inserted replaced
8:5586b4d2ec3e 9:0d28c1c5b6dd
   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