summaryrefslogtreecommitdiff
path: root/lingucomponent/source/languageguessing/guess.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent/source/languageguessing/guess.cxx')
-rw-r--r--lingucomponent/source/languageguessing/guess.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/lingucomponent/source/languageguessing/guess.cxx b/lingucomponent/source/languageguessing/guess.cxx
index dc45e49edc79..68db6c521aab 100644
--- a/lingucomponent/source/languageguessing/guess.cxx
+++ b/lingucomponent/source/languageguessing/guess.cxx
@@ -102,13 +102,7 @@ Guess::Guess(char * guess_str)
if(lang!=""){//if not we use the default value
language_str=lang;
}
-
- if(/*country!=""*/1){
- country_str=country;
- }
- else{//if we don't have an availlable country, we use the language as a country
- country_str=upperCase(language_str);
- }
+ country_str=country;
if(enc!=""){//if not we use the default value
encoding_str=enc;