messagingappbase/sendui/mmsindirectupload/src/CMmsIndirectUpload.cpp
branchRCL_3
changeset 24 e00582ce7ecd
parent 0 72b543305e3a
equal deleted inserted replaced
22:52d61119153d 24:e00582ce7ecd
   274 // -----------------------------------------------------------------------------
   274 // -----------------------------------------------------------------------------
   275 //
   275 //
   276 void CMmsIndirectUpload::PopulateServicesListL(
   276 void CMmsIndirectUpload::PopulateServicesListL(
   277     RPointerArray<CSendingServiceInfo>& aList )
   277     RPointerArray<CSendingServiceInfo>& aList )
   278     {
   278     {
       
   279     CleanupClosePushL( aList );
   279     for ( TInt cc = 0; cc < iServiceArray.Count(); cc++ )
   280     for ( TInt cc = 0; cc < iServiceArray.Count(); cc++ )
   280         {
   281         {
   281         User::LeaveIfError( aList.Append( iServiceArray[cc] ) );         
   282         User::LeaveIfError( aList.Append( iServiceArray[cc] ) );         
   282         }
   283         }
       
   284     CleanupStack::Pop( &aList );
   283     }
   285     }
   284 
   286 
   285 // -----------------------------------------------------------------------------
   287 // -----------------------------------------------------------------------------
   286 // CMmsIndirectUpload::ReadServiceDataL
   288 // CMmsIndirectUpload::ReadServiceDataL
   287 // Reads service names from resource file and addresses from shared data or
   289 // Reads service names from resource file and addresses from shared data or