emailuis/emailui/sendasmtm/fsmtms/uidata/src/cfsuidatamtm.cpp
branchRCL_3
changeset 11 0396474f30f5
parent 8 e1b6206813b4
equal deleted inserted replaced
10:f5907b1a1053 11:0396474f30f5
   156         CArrayPtrFlat<CFbsBitmap>* array = new (ELeave) CArrayPtrFlat<CFbsBitmap>( 2 );
   156         CArrayPtrFlat<CFbsBitmap>* array = new (ELeave) CArrayPtrFlat<CFbsBitmap>( 2 );
   157         CleanupStack::PushL( array ); // +2 array
   157         CleanupStack::PushL( array ); // +2 array
   158         array->SetReserveL( 2 ); // AppendLs will not LEAVE
   158         array->SetReserveL( 2 ); // AppendLs will not LEAVE
   159         
   159         
   160         CGulIcon* brandedIcon( NULL );
   160         CGulIcon* brandedIcon( NULL );
   161         TInt err;
   161         TInt err(KErrNone);
   162 
   162 
   163         if ( i < mailboxes.Count() ) // Do not execute for the last round
   163         if ( i < mailboxes.Count() ) // Do not execute for the last round
   164             {
   164             {
   165             TRAP( err, brandedIcon = brandManager.GetGraphicL( EFSMailboxIcon, mailboxes[i]->GetId() ) );
   165             TRAP( err, brandedIcon = brandManager.GetGraphicL( EFSMailboxIcon, mailboxes[i]->GetId() ) );
   166             }
   166             }