sysstatemgmt/syslangutil/ssmlangselcmd/src/ssmlangselcmd.cpp
changeset 54 072a9626b290
parent 13 cef4ff1e6c4f
child 52 d6b9e89d80a3
equal deleted inserted replaced
45:c6215323ad55 54:072a9626b290
   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 // ---------------------------------------------------------------------------