sysstatemgmt/syslangutil/ssmlangselcmd/src/ssmlangselcmd.cpp
changeset 48 86cf7a1b7eb9
parent 13 cef4ff1e6c4f
child 52 d6b9e89d80a3
equal deleted inserted replaced
41:c87e5f80c17d 48:86cf7a1b7eb9
   399 //
   399 //
   400 TBool CSsmLangSelCmd::ValidateAndGetSettings( const TInt aLastSelectedLang, TInt& aLastSelectedRegion, TInt& aLastSelectedCollation )
   400 TBool CSsmLangSelCmd::ValidateAndGetSettings( const TInt aLastSelectedLang, TInt& aLastSelectedRegion, TInt& aLastSelectedCollation )
   401     {
   401     {
   402     TBool isValid( EFalse );
   402     TBool isValid( EFalse );
   403     //Validate and get the selected settings
   403     //Validate and get the selected settings
   404     TRAPD( errorCode, isValid = ValidateAndGetSettingsL( aLastSelectedLang, aLastSelectedRegion, aLastSelectedCollation ) );
   404 	TInt errorCode = KErrNone;
       
   405     TRAP( errorCode, isValid = ValidateAndGetSettingsL( aLastSelectedLang, aLastSelectedRegion, aLastSelectedCollation ) );
   405     ERROR_1( errorCode, "Validation failed for the selected Language, region and Collation with error %d", errorCode );
   406     ERROR_1( errorCode, "Validation failed for the selected Language, region and Collation with error %d", errorCode );
   406     return isValid;
   407     return isValid;
   407     }
   408     }
   408 
   409 
   409 // ---------------------------------------------------------------------------
   410 // ---------------------------------------------------------------------------