equal
deleted
inserted
replaced
98 // ---------------------------------------------------------------------------- |
98 // ---------------------------------------------------------------------------- |
99 void |
99 void |
100 CCsConversationContact::SetDisplayNameL( |
100 CCsConversationContact::SetDisplayNameL( |
101 const TDesC& aDisplayName) |
101 const TDesC& aDisplayName) |
102 { |
102 { |
103 if( &aDisplayName ) |
|
104 { |
|
105 TRAPD(error, iDisplayName = aDisplayName.AllocL()); |
103 TRAPD(error, iDisplayName = aDisplayName.AllocL()); |
106 if(error != KErrNone) |
104 if(error != KErrNone) |
107 { |
105 { |
108 // handle error |
106 // handle error |
109 // call panic |
107 // call panic |
110 PRINT1 ( _L("CCsConversationContact::SetFirstNameL - Error:%d"), |
108 PRINT1 ( _L("CCsConversationContact::SetFirstNameL - Error:%d"), |
111 error ); |
109 error ); |
112 } |
110 } |
113 } |
111 |
114 } |
112 } |
115 |
113 |
116 // ---------------------------------------------------------------------------- |
114 // ---------------------------------------------------------------------------- |
117 // CCsConversationContact::GetContactId |
115 // CCsConversationContact::GetContactId |
118 // get the phonebook Contact Id link for the conversation |
116 // get the phonebook Contact Id link for the conversation |