ipsservices/ipssosplugin/src/ipsplgmsgmapper.cpp
changeset 51 d845db10c0d4
parent 47 f83bd4ae1fe3
child 56 15bc1d5d6267
equal deleted inserted replaced
49:00c7ae862740 51:d845db10c0d4
  1083         else
  1083         else
  1084             {
  1084             {
  1085             childPart = GetMessagePartL( (*cEntry)[0].Id(), aMailBoxId, aMessageId );
  1085             childPart = GetMessagePartL( (*cEntry)[0].Id(), aMailBoxId, aMessageId );
  1086             if( childPart )
  1086             if( childPart )
  1087                 {
  1087                 {
  1088                 aParts.Append( childPart );
  1088                 aParts.AppendL( childPart );
  1089                 }
  1089                 }
  1090             }
  1090             }
  1091         }
  1091         }
  1092     CleanupStack::PopAndDestroy( cEntry );
  1092     CleanupStack::PopAndDestroy( cEntry );
  1093     }
  1093     }
  1145             }
  1145             }
  1146 
  1146 
  1147         // Insert the new child part to the result array
  1147         // Insert the new child part to the result array
  1148         if ( childPart )
  1148         if ( childPart )
  1149             {
  1149             {
  1150             aParts.Insert( childPart, position );
  1150             aParts.InsertL( childPart, position );
  1151             childPart = NULL;
  1151             childPart = NULL;
  1152             }
  1152             }
  1153         }
  1153         }
  1154     CleanupStack::PopAndDestroy( cEntry );
  1154     CleanupStack::PopAndDestroy( cEntry );
  1155     }
  1155     }