messagingapp/msgappfw/server/src/ccsconversation.cpp
changeset 43 35b64624a9e7
parent 31 ebfee66fde93
child 47 5b14749788d7
child 52 12db4185673b
equal deleted inserted replaced
34:84197e66a4bd 43:35b64624a9e7
   251 // this will be display name, number and contact Id
   251 // this will be display name, number and contact Id
   252 // ----------------------------------------------------------------------------
   252 // ----------------------------------------------------------------------------
   253 void
   253 void
   254 CCsConversation::AddContactDetailsL(
   254 CCsConversation::AddContactDetailsL(
   255         TInt32  aContactId,
   255         TInt32  aContactId,
   256         const TDesC& aDisplayName)
   256         const HBufC* aDisplayName)
   257     {
   257     {
   258     iContact->SetDisplayNameL(aDisplayName);
   258     if(aDisplayName)
       
   259     {
       
   260         iContact->SetDisplayNameL(*aDisplayName);    
       
   261     }
   259     iContact->SetContactId (aContactId);    
   262     iContact->SetContactId (aContactId);    
   260     }
   263     }
   261 
   264 
   262 // ----------------------------------------------------------------------------
   265 // ----------------------------------------------------------------------------
   263 // CCsConversation::AddContactDetails
   266 // CCsConversation::AddContactDetails