engines/vmbxengine/src/vmnumber.cpp
branchRCL_3
changeset 8 1b9ee3c7442d
parent 0 ff3b6d0fd310
child 10 a19c8664496d
equal deleted inserted replaced
7:7237db0d9fca 8:1b9ee3c7442d
  1372                 HBufC* label = StringLoader::LoadLC( R_SAVED_SIM_NUMBER_INTO_USE,
  1372                 HBufC* label = StringLoader::LoadLC( R_SAVED_SIM_NUMBER_INTO_USE,
  1373                                                                     aNumber );
  1373                                                                     aNumber );
  1374                 iVMSimQueryDialog = CVMSimQueryDilaog::NewL();
  1374                 iVMSimQueryDialog = CVMSimQueryDilaog::NewL();
  1375                 iVMSimQueryDialog->SetVMSimPromptL( *label );
  1375                 iVMSimQueryDialog->SetVMSimPromptL( *label );
  1376                 CleanupStack::PopAndDestroy( label );
  1376                 CleanupStack::PopAndDestroy( label );
       
  1377                 //coverity static analysis tool generates a warning finding here
       
  1378                 //ignore that
       
  1379                 //coverity[deref_ptr_in_call]
  1377                 retVal= iVMSimQueryDialog->ExecuteLD(
  1380                 retVal= iVMSimQueryDialog->ExecuteLD(
  1378                                               R_VMBX_TAKE_SIM_NUMBER_INTO_USE );
  1381                                               R_VMBX_TAKE_SIM_NUMBER_INTO_USE );
       
  1382                 //coverity static analysis tool generates a warning finding here
       
  1383                 //ignore that
       
  1384                 //coverity[check_after_deref] 
  1379                 if ( iVMSimQueryDialog == NULL )
  1385                 if ( iVMSimQueryDialog == NULL )
  1380                     {
  1386                     {
  1381                     VMBLOGSTRING( "VMBX: RVmbxNumber::QuerySimNumberL: \
  1387                     VMBLOGSTRING( "VMBX: RVmbxNumber::QuerySimNumberL: \
  1382                     No number inserted" );
  1388                     No number inserted" );
  1383                     return EFalse;
  1389                     return EFalse;