emailservices/emailclientapi/src/emailmessage.cpp
changeset 76 38bf5461e270
parent 74 6c59112cfd31
equal deleted inserted replaced
74:6c59112cfd31 76:38bf5461e270
   666         {
   666         {
   667         TMessageContentId msgContentId = MessageContentId( attachments[i]->GetPartId().Id() );
   667         TMessageContentId msgContentId = MessageContentId( attachments[i]->GetPartId().Id() );
   668 
   668 
   669         CEmailAttachment* att = CEmailAttachment::NewL( 
   669         CEmailAttachment* att = CEmailAttachment::NewL( 
   670             iPluginData, msgContentId, attachments[i], EClientOwns );
   670             iPluginData, msgContentId, attachments[i], EClientOwns );
   671 
   671         CleanupStack::PushL(att);
   672         aAttachments.AppendL( att );
   672         aAttachments.AppendL( att );
       
   673         CleanupStack::Pop(att);
   673         }
   674         }
   674     CleanupStack::Pop( &attachments );
   675     CleanupStack::Pop( &attachments );
   675     return count;
   676     return count;
   676     }
   677     }
   677 
   678