emailservices/emailstore/message_store/client/src/MsgStoreMessagePart.cpp
branchRCL_3
changeset 24 d189ee25cf9d
parent 8 e1b6206813b4
child 25 3533d4323edc
equal deleted inserted replaced
23:dcf0eedfc1a3 24:d189ee25cf9d
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 
    19 
    20 //<cmail>
    20 //<cmail>
    21 #include "msgstoremessagepart.h"
    21 #include "MsgStoreMessagePart.h"
    22 #include "msgstorepropertykeys.h"
    22 #include "MsgStorePropertyKeys.h"
    23 //</cmail>
    23 //</cmail>
    24 #include "msgstoresessioncontext.h"
    24 #include "MsgStoreSessionContext.h"
    25 #include "rmessagestoresession.h"
    25 #include "RMessageStoreSession.h"
    26 #include "MessageStoreClientServer.h"
    26 #include "MessageStoreClientServer.h"
    27 #include "msgstoremessage.h"
    27 #include "MsgStoreMessage.h"
    28 
    28 
    29 //_LIT( KTextPlain, "text/plain" );
    29 //_LIT( KTextPlain, "text/plain" );
    30 //_LIT( KTextHTML, "text/html" );
    30 //_LIT( KTextHTML, "text/html" );
    31 _LIT(KFSMailContentTypeMultipartAlternative, "multipart/alternative");
    31 _LIT(KFSMailContentTypeMultipartAlternative, "multipart/alternative");
    32 
    32 
   267 					{
   267 					{
   268 						if( i > 0 )  
   268 						if( i > 0 )  
   269 							{
   269 							{
   270 							//body is not the first child, move it to the first place
   270 							//body is not the first child, move it to the first place
   271 							aParts.Remove(i);
   271 							aParts.Remove(i);
   272 							aParts.Insert( part, 0 );
   272 							aParts.InsertL( part, 0 );
   273 							}
   273 							}
   274 						break;
   274 						break;
   275 					}
   275 					}
   276 				}
   276 				}
   277 			}
   277 			}