telephonyserverplugins/simtsy/src/CSimPhone.cpp
branchRCL_3
changeset 15 fc69e1e37771
parent 14 7ef16719d8cb
child 65 630d2f34d719
equal deleted inserted replaced
14:7ef16719d8cb 15:fc69e1e37771
  2997     iSectionName.Format(KSectionNameFormat,testNumber);
  2997     iSectionName.Format(KSectionNameFormat,testNumber);
  2998     
  2998     
  2999     CTestConfig* configFile = NULL; 
  2999     CTestConfig* configFile = NULL; 
  3000 
  3000 
  3001     TRAPD(err, configFile = CTestConfig::NewLC(iFs, KConfigFileDir, KConfigFilename); CleanupStack::Pop(configFile));
  3001     TRAPD(err, configFile = CTestConfig::NewLC(iFs, KConfigFileDir, KConfigFilename); CleanupStack::Pop(configFile));
  3002     CleanupStack::PushL(configFile);
       
  3003     if( err != KErrNone || configFile->Section(iSectionName) != NULL )
  3002     if( err != KErrNone || configFile->Section(iSectionName) != NULL )
  3004         {
  3003         {
  3005         err = KErrNone;
  3004         err = KErrNone;
  3006         }
  3005         }
  3007     else
  3006     else
  3008         {
  3007         {
  3009         err = KErrNotFound;
  3008         err = KErrNotFound;
  3010         }
  3009         }
  3011     CleanupStack::PopAndDestroy(configFile);
  3010     delete configFile;
  3012     return err;
  3011     return err;
  3013     }
  3012     }
  3014 /**
  3013 /**
  3015 	Constructor for suspend call processing timer
  3014 	Constructor for suspend call processing timer
  3016 */
  3015 */