equal
deleted
inserted
replaced
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 // --------------------------------------------------------------------------- |