summaryrefslogtreecommitdiff
path: root/lingucomponent/source/languageguessing/guess.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent/source/languageguessing/guess.cxx')
-rw-r--r--lingucomponent/source/languageguessing/guess.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/lingucomponent/source/languageguessing/guess.cxx b/lingucomponent/source/languageguessing/guess.cxx
index 9d1751e96741..76358917120f 100644
--- a/lingucomponent/source/languageguessing/guess.cxx
+++ b/lingucomponent/source/languageguessing/guess.cxx
@@ -25,7 +25,7 @@
#else
#include <textcat.h>
#endif
-#include <altstrfunc.hxx>
+
#include <guess.hxx>
/* Old textcat.h versions defined bad spelled constants. */
@@ -39,6 +39,11 @@
using namespace std;
+inline bool isSeparator(const char c){
+ return c == GUESS_SEPARATOR_OPEN || c == GUESS_SEPARATOR_SEP || c == GUESS_SEPARATOR_CLOSE || c == '\0';
+}
+
+
Guess::Guess()
: language_str(DEFAULT_LANGUAGE)
, country_str(DEFAULT_COUNTRY)