summaryrefslogtreecommitdiff
path: root/lingucomponent/source/languageguessing/simpleguesser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent/source/languageguessing/simpleguesser.cxx')
-rw-r--r--lingucomponent/source/languageguessing/simpleguesser.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/lingucomponent/source/languageguessing/simpleguesser.cxx b/lingucomponent/source/languageguessing/simpleguesser.cxx
index 3220935e1688..76b3b65c3632 100644
--- a/lingucomponent/source/languageguessing/simpleguesser.cxx
+++ b/lingucomponent/source/languageguessing/simpleguesser.cxx
@@ -68,6 +68,8 @@ static int startsAsciiCaseInsensitive(const std::string &s1, const std::string &
return ret;
}
+namespace {
+
/**
* This following structure is from textcat.c
*/
@@ -83,6 +85,8 @@ typedef struct textcat_t{
} textcat_t;
// end of the 3 structs
+}
+
SimpleGuesser::SimpleGuesser()
{
h = nullptr;