--- a/serviceproviders/sapi_contacts_vpbk/contactservice/src/singlecontact.cpp Thu Dec 17 09:09:50 2009 +0200
+++ b/serviceproviders/sapi_contacts_vpbk/contactservice/src/singlecontact.cpp Mon Jan 18 21:02:57 2010 +0200
@@ -149,7 +149,8 @@
if(EVPbkFieldStorageTypeUri == storageType )
{
//TDesC val = label.Alloc();
- uri.Set((MVPbkContactFieldUriData::Cast(field.FieldData())).Uri());
+ //uri.Set((MVPbkContactFieldUriData::Cast(field.FieldData())).Uri());
+ uri.Set((static_cast<const MVPbkContactFieldUriData&>(field.FieldData())).Uri());
/* TBuf<10> bufVal1;
bufVal1.Copy(label);
TBuf<100> bufVal2;