[Libreoffice-commits] core.git: lingucomponent/source
Stephan Bergmann
sbergman at redhat.com
Mon Mar 25 10:20:51 PDT 2013
lingucomponent/source/languageguessing/simpleguesser.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e21114a9282096e2b7e5ebbc4dd74e2f85c7e36c
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Mar 25 18:19:45 2013 +0100
Missing _TEXTCAT_RESULT_SHORT -> TEXTCAT_RESULT_SHORT_STR
...cf. d4244efeb171632f309c8cfcbea4fbe2a3de3193 "libexttextcat: fix spelling of
TEXTCAT_RESULT_UNKOWN."
Change-Id: I65e8327296450324205e937fa762b656afebe2dd
diff --git a/lingucomponent/source/languageguessing/simpleguesser.cxx b/lingucomponent/source/languageguessing/simpleguesser.cxx
index b6d52cd..ac171b1 100644
--- a/lingucomponent/source/languageguessing/simpleguesser.cxx
+++ b/lingucomponent/source/languageguessing/simpleguesser.cxx
@@ -128,7 +128,7 @@ vector<Guess> SimpleGuesser::GuessLanguage(const char* text)
const char *guess_list = textcat_Classify(h, text, len);
- if (strcmp(guess_list, _TEXTCAT_RESULT_SHORT) == 0)
+ if (strcmp(guess_list, TEXTCAT_RESULT_SHORT_STR) == 0)
return guesses;
int current_pointer = 0;
More information about the Libreoffice-commits
mailing list