summaryrefslogtreecommitdiff
path: root/lingucomponent/source/languageguessing/simpleguesser.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent/source/languageguessing/simpleguesser.hxx')
-rw-r--r--lingucomponent/source/languageguessing/simpleguesser.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lingucomponent/source/languageguessing/simpleguesser.hxx b/lingucomponent/source/languageguessing/simpleguesser.hxx
index 4a164c7e35da..2863a6ed8dd8 100644
--- a/lingucomponent/source/languageguessing/simpleguesser.hxx
+++ b/lingucomponent/source/languageguessing/simpleguesser.hxx
@@ -61,14 +61,14 @@ public:
* @param char* text is the text to analyze
* @return the list of guess
*/
- vector<Guess> GuessLanguage(char* text);
+ vector<Guess> GuessLanguage(const char* text);
/**
* Analyze a text and return the most probable language of the text
* @param char* text is the text to analyze
* @return the guess (containing language)
*/
- Guess GuessPrimaryLanguage(char* text);
+ Guess GuessPrimaryLanguage(const char* text);
/**
* List all available languages (possibly to be in guesses)