summaryrefslogtreecommitdiffstats
path: root/lingucomponent/source/languageguessing/simpleguesser.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-04-24 13:02:52 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-04-24 13:02:52 +0000
commite08c87f1fd9ead5c14cfe7c2a9433a8369ce3edb (patch)
treec5a6e88dc6111eccd95fb5a87e33a6179f44ce62 /lingucomponent/source/languageguessing/simpleguesser.cxx
parentINTEGRATION: CWS tl50 (1.3.62); FILE MERGED (diff)
downloadcore-e08c87f1fd9ead5c14cfe7c2a9433a8369ce3edb.tar.gz
core-e08c87f1fd9ead5c14cfe7c2a9433a8369ce3edb.zip
INTEGRATION: CWS tl50 (1.4.62); FILE MERGED
2008/02/27 15:29:57 tl 1.4.62.1: #i86321# removed unused code
Diffstat (limited to 'lingucomponent/source/languageguessing/simpleguesser.cxx')
-rw-r--r--lingucomponent/source/languageguessing/simpleguesser.cxx11
1 files changed, 3 insertions, 8 deletions
diff --git a/lingucomponent/source/languageguessing/simpleguesser.cxx b/lingucomponent/source/languageguessing/simpleguesser.cxx
index ac048a7e1066..33c89716e9f3 100644
--- a/lingucomponent/source/languageguessing/simpleguesser.cxx
+++ b/lingucomponent/source/languageguessing/simpleguesser.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: simpleguesser.cxx,v $
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
* This file is part of OpenOffice.org.
*
@@ -100,11 +100,6 @@ SimpleGuesser::SimpleGuesser()
h = NULL;
}
-SimpleGuesser::SimpleGuesser(const char* confFile, const char* prefix)
-{
- h = special_textcat_Init(confFile, prefix);
-}
-
void SimpleGuesser::operator=(SimpleGuesser& sg){
if(h){textcat_Done(h);}
h = sg.h;
@@ -145,7 +140,7 @@ vector<Guess> SimpleGuesser::GuessLanguage(char* text)
}
if(guess_list[current_pointer] != '\0')
{
- Guess g((char*)(guess_list + current_pointer),i);
+ Guess g((char*)(guess_list + current_pointer));
guesses.push_back(g);
@@ -187,7 +182,7 @@ vector<Guess> SimpleGuesser::GetManagedLanguages(const char mask)
if(tables->fprint_disable[i] & mask){
string langStr = "[";
langStr += (char*)fp_Name(tables->fprint[i]);
- Guess g( (char *)langStr.c_str() , i);
+ Guess g( (char *)langStr.c_str());
lang.push_back(g);
}
}