Change-Id: I9f54d6220c88b4e0f0efa0b47927a47163f22691
Signed-off-by: Byounghui <byounghui.lim@samsung.com>
for (; index < count; index++)
{
- tempRecipient.Append(L",<" + *(dynamic_cast< String* >(pRecipientList->GetAt(index))) + L">");
+ pRecipient = dynamic_cast< String* >(pRecipientList->GetAt(index));
+ SysTryCatch(NID_MSG, pRecipient != null, r = GetLastResult(), r, "[%s] Failed to get recipient", GetErrorMessage(r));
+ tempRecipient.Append(L",<" + *pRecipient + L">");
}
if(RECIPIENT_TYPE_TO == type)