emailservices/emailcommon/src/CFSMailMessagePart.cpp
changeset 51 d845db10c0d4
parent 49 00c7ae862740
child 62 a8c646b56683
equal deleted inserted replaced
49:00c7ae862740 51:d845db10c0d4
   568         // copy attachment part ids
   568         // copy attachment part ids
   569         RArray<TFSMailMsgId> ids;
   569         RArray<TFSMailMsgId> ids;
   570         CleanupClosePushL( ids ); 
   570         CleanupClosePushL( ids ); 
   571         for(TInt i=0;i<attachments.Count();i++)
   571         for(TInt i=0;i<attachments.Count();i++)
   572             {
   572             {
   573             ids.Append(attachments[i]->GetPartId());
   573             ids.AppendL(attachments[i]->GetPartId());
   574             }
   574             }
   575         
   575         
   576         // remove attachment fetched contents 
   576         // remove attachment fetched contents 
   577         if(ids.Count())
   577         if(ids.Count())
   578             {
   578             {
  1380     NM_FUNCTION;
  1380     NM_FUNCTION;
  1381     
  1381     
  1382 	TInt requestId(0);
  1382 	TInt requestId(0);
  1383 	if(CFSMailPlugin* plugin = iRequestHandler->GetPluginByUid(GetPartId()))
  1383 	if(CFSMailPlugin* plugin = iRequestHandler->GetPluginByUid(GetPartId()))
  1384 		{
  1384 		{
  1385 		
       
  1386 	    RArray<TFSMailMsgId> messageList;
  1385 	    RArray<TFSMailMsgId> messageList;
  1387     	messageList.Append(GetPartId());
  1386     	messageList.AppendL(GetPartId());
  1388 		
  1387 		
  1389 	    // init async request
  1388 	    // init async request
  1390 	    TFSPendingRequest request = iRequestHandler->InitAsyncRequestL(	GetPartId().PluginId(),
  1389 	    TFSPendingRequest request = iRequestHandler->InitAsyncRequestL(	GetPartId().PluginId(),
  1391 	    															  	aOperationObserver);
  1390 	    															  	aOperationObserver);
  1392 
  1391