--- a/phoneengine/PhoneCntFinder/ContactService/src/CPhCntContactManager.cpp Tue May 25 12:41:50 2010 +0300
+++ b/phoneengine/PhoneCntFinder/ContactService/src/CPhCntContactManager.cpp Wed Jun 09 09:41:11 2010 +0300
@@ -118,13 +118,16 @@
MVPbkContactFindObserver& aObserver,
TBool aRemoveDuplicates )
{
+ TUint32 dupesMatch =
+ CVPbkPhoneNumberMatchStrategy::EVPbkDuplicatedContactsMatchFlag |
+ CVPbkPhoneNumberMatchStrategy::EVPbkBestMatchingFlag;
+ TUint32 noDupesMatch = CVPbkPhoneNumberMatchStrategy::EVPbkBestMatchingFlag;
+
return CPhCntContactMatchStrategy::NewL(
*iContactManager,
*iContactStoreUris,
aObserver,
- aRemoveDuplicates ?
- CVPbkPhoneNumberMatchStrategy::EVPbkDuplicatedContactsMatchFlag :
- CVPbkPhoneNumberMatchStrategy::EVPbkMatchFlagsNone );
+ aRemoveDuplicates ? dupesMatch : noDupesMatch );
}
// ---------------------------------------------------------------------------