phonebookengines/contactsmodel/cntplsql/src/cpplcontacttable.cpp
changeset 46 efe85016a067
parent 24 0ba2181d7c28
equal deleted inserted replaced
40:b46a585f6909 46:efe85016a067
   441 			    {
   441 			    {
   442 			    const TInt KParamIndex(User::LeaveIfError(stmnt.ParameterIndex(iFieldMap.FindL(nameFieldUid) ) ) );
   442 			    const TInt KParamIndex(User::LeaveIfError(stmnt.ParameterIndex(iFieldMap.FindL(nameFieldUid) ) ) );
   443     			User::LeaveIfError(stmnt.BindText(KParamIndex, textToSet));
   443     			User::LeaveIfError(stmnt.BindText(KParamIndex, textToSet));
   444 			    }			}
   444 			    }			}
   445 		else if (field.StorageType() == KStorageTypeText &&  // the field is textual
   445 		else if (field.StorageType() == KStorageTypeText &&  // the field is textual
   446 				 field.TextStorage()->Text().Length() )      // ignore empty fields
   446 				 field.TextStorage()->Text().Length() &&     // ignore empty fields
       
   447 				 custFiltFields != NULL)
   447 			{
   448 			{
   448 			// the field is not stored in contact table but potentially maps to a hint
   449 			// the field is not stored in contact table but potentially maps to a hint
   449 			hint.UpdateHintL(field, *custFiltFields);
   450 			hint.UpdateHintL(field, *custFiltFields);
   450 			}
   451 			}
   451 		}
   452 		}