messagingapp/msgappfw/server/src/ccsconversation.cpp
branchGCC_SURGE
changeset 47 5b14749788d7
parent 25 84d9eb65b26f
parent 43 35b64624a9e7
equal deleted inserted replaced
35:a32b19fb291e 47:5b14749788d7
   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