mobilemessaging/audiomsg/src/audiomessageappui.cpp
changeset 2 0bf1d54f37d9
parent 1 d09ac5c1e252
child 12 caea42e26caa
equal deleted inserted replaced
1:d09ac5c1e252 2:0bf1d54f37d9
  2713     	iWaitDialog = new( ELeave )CAknWaitDialog(
  2713     	iWaitDialog = new( ELeave )CAknWaitDialog(
  2714             reinterpret_cast<CEikDialog**>( &iWaitDialog ));
  2714             reinterpret_cast<CEikDialog**>( &iWaitDialog ));
  2715     	}
  2715     	}
  2716     	
  2716     	
  2717     iWaitDialog->SetCallback( this );	
  2717     iWaitDialog->SetCallback( this );	
  2718     iWaitDialog->SetTextL( *string );
  2718     // Coverty fix, Forward NULL , http://ousrv057/cov.cgi?cid=35709 
       
  2719     if (string)
       
  2720         {
       
  2721         iWaitDialog->SetTextL( *string );
       
  2722         CleanupStack::PopAndDestroy( string );
       
  2723         }
  2719     iWaitResId = aResourceId;
  2724     iWaitResId = aResourceId;
  2720     if (string)
       
  2721         {
       
  2722         CleanupStack::PopAndDestroy( string );
       
  2723         }
       
  2724     iWaitDialog->PrepareLC( waitNoteResource );
  2725     iWaitDialog->PrepareLC( waitNoteResource );
  2725 
  2726 
  2726     AMSLOGGER_WRITE( "CAudioMessageAppUi::ShowWaitNoteL <<" );
  2727     AMSLOGGER_WRITE( "CAudioMessageAppUi::ShowWaitNoteL <<" );
  2727     return iWaitDialog->RunLD();
  2728     return iWaitDialog->RunLD();
  2728     }
  2729     }