summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-14 16:31:22 +0200
committerNoel Grandin <noel@peralex.com>2016-01-15 09:36:41 +0200
commit602a64939da2df486099eba967aa9148ced1d8d4 (patch)
tree886c50020b24d855cb3480943171b1129742fa43 /lingucomponent
parentabb87856dd6a722245cc9dd690bfcec6ecd901da (diff)
loplugin:unusedmethods unused return value in l10ntools,linguistic
Change-Id: I11571c25e527787a2054bc8106a27c44b8a96116
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/languageguessing/guess.cxx11
-rw-r--r--lingucomponent/source/languageguessing/guess.hxx2
2 files changed, 0 insertions, 13 deletions
diff --git a/lingucomponent/source/languageguessing/guess.cxx b/lingucomponent/source/languageguessing/guess.cxx
index fa1e6f62b804..9d1751e96741 100644
--- a/lingucomponent/source/languageguessing/guess.cxx
+++ b/lingucomponent/source/languageguessing/guess.cxx
@@ -109,15 +109,4 @@ Guess::~Guess()
{
}
-bool Guess::operator==(const string& lang)
-{
- string toString;
- toString += GetLanguage();
- toString += "-";
- toString += GetCountry();
- toString += "-";
- toString += GetEncoding();
- return start(toString, lang);
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/lingucomponent/source/languageguessing/guess.hxx b/lingucomponent/source/languageguessing/guess.hxx
index 4e9644f5ecd1..98ebe3673824 100644
--- a/lingucomponent/source/languageguessing/guess.hxx
+++ b/lingucomponent/source/languageguessing/guess.hxx
@@ -52,8 +52,6 @@ class Guess{
string GetCountry() { return country_str;}
string GetEncoding() { return encoding_str;}
- bool operator==(const string& lang);
-
protected:
string language_str;
string country_str;