phonebookengines/contactsmodel/src/CNTITEM.CPP
branchRCL_3
changeset 3 04ab22b956c2
parent 0 e686773b3f54
--- a/phonebookengines/contactsmodel/src/CNTITEM.CPP	Tue Feb 02 10:12:17 2010 +0200
+++ b/phonebookengines/contactsmodel/src/CNTITEM.CPP	Fri Feb 19 22:40:27 2010 +0200
@@ -287,18 +287,6 @@
 					}				
 				}
 
-			// Check if the incoming contact item has a vCard property mapping
-			// that is also present in the current template field's Field Types.
-			// This covers the (unusual) case where a template field is defined
-			// to have a vCard property mapping which is also the same as one of
-			// field types (which contains property parameter mappings).
-			for(TInt fieldTypeIdx=0; fieldTypeIdx < fieldContentType.FieldTypeCount(); ++fieldTypeIdx)
-				{
-				if(fieldContentType.FieldType(fieldTypeIdx) == aContentType.Mapping())
-					{
-					++hits;
-					}
-				}
 			
 			misses+=fieldContentType.FieldTypeCount()-hits;
 			score+=10*hits-5*misses;