summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--l10ntools/source/gsicheck.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/source/gsicheck.cxx b/l10ntools/source/gsicheck.cxx
index 5fc52baba086..438234ea8e34 100644
--- a/l10ntools/source/gsicheck.cxx
+++ b/l10ntools/source/gsicheck.cxx
@@ -71,13 +71,13 @@ sal_Bool LanguageOK( ByteString aLang )
return sal_True;
if ( aLang.GetTokenCount( '-' ) == 1 )
- return aLang.IsAlphaAscii() && aLang.IsLowerAscii();
+ return aLang.IsLowerAscii();
else if ( aLang.GetTokenCount( '-' ) == 2 )
{
ByteString aTok0( aLang.GetToken( 0, '-' ) );
ByteString aTok1( aLang.GetToken( 1, '-' ) );
- return aTok0.Len() && aTok0.IsAlphaAscii() && aTok0.IsLowerAscii()
- && aTok1.Len() && aTok1.IsAlphaAscii() && aTok1.IsUpperAscii()
+ return aTok0.Len() && aTok0.IsLowerAscii()
+ && aTok1.Len() && aTok1.IsUpperAscii()
&& !aTok1.EqualsIgnoreCaseAscii( aTok0 );
}