summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-04-24 13:02:21 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-04-24 13:02:21 +0000
commit1113e66a630020fb9fbd3512af9542c7b4b79830 (patch)
tree464f314faece486a56aeb1bcdc6fa345c769d58e /lingucomponent
parentcbc6bbd8a3c245ab8cdb6e4569130fbeef48557c (diff)
INTEGRATION: CWS tl50 (1.5.12); FILE MERGED
2008/02/27 15:29:57 tl 1.5.12.1: #i86321# removed unused code
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/languageguessing/guess.cxx20
1 files changed, 2 insertions, 18 deletions
diff --git a/lingucomponent/source/languageguessing/guess.cxx b/lingucomponent/source/languageguessing/guess.cxx
index 1978afd0c014..dc45e49edc79 100644
--- a/lingucomponent/source/languageguessing/guess.cxx
+++ b/lingucomponent/source/languageguessing/guess.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: guess.cxx,v $
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
* This file is part of OpenOffice.org.
*
@@ -45,16 +45,6 @@ Guess::Guess()
language_str = DEFAULT_LANGUAGE;
country_str = DEFAULT_COUNTRY;
encoding_str = DEFAULT_ENCODING;
- order = 0;
-}
-
-Guess::Guess(string& lang, string& country, string& enc, int p_order)
-{
- Guess();
- language_str=lang;
- country_str=country;
- encoding_str=enc;
- order = p_order;
}
/*
@@ -63,10 +53,9 @@ Guess::Guess(string& lang, string& country, string& enc, int p_order)
*
*/
-Guess::Guess(char * guess_str, int p_order)
+Guess::Guess(char * guess_str)
{
Guess();
- order = p_order;
string lang;
string country;
@@ -144,11 +133,6 @@ string Guess::GetEncoding()
return encoding_str;
}
-int Guess::GetOrder()
-{
- return order;
-}
-
bool Guess::operator==(string lang)
{
string toString;