diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-12 14:06:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-17 10:55:17 +0200 |
commit | 3e82897353e576dc6e3fbf55371fda5a0c3415df (patch) | |
tree | 71c2f03128885000efae1852dccb504f8355c79e /lingucomponent | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/languageguessing/guess.cxx | 12 | ||||
-rw-r--r-- | lingucomponent/source/languageguessing/guess.hxx | 6 |
2 files changed, 3 insertions, 15 deletions
diff --git a/lingucomponent/source/languageguessing/guess.cxx b/lingucomponent/source/languageguessing/guess.cxx index 1e3cb3e33acf..63c11a54d813 100644 --- a/lingucomponent/source/languageguessing/guess.cxx +++ b/lingucomponent/source/languageguessing/guess.cxx @@ -108,20 +108,8 @@ Guess::~Guess() { } -string Guess::GetLanguage() -{ - return language_str; -} -string Guess::GetCountry() -{ - return country_str; -} -string Guess::GetEncoding() -{ - return encoding_str; -} bool Guess::operator==(string lang) { diff --git a/lingucomponent/source/languageguessing/guess.hxx b/lingucomponent/source/languageguessing/guess.hxx index 43cbcf65e84c..65febf59e03b 100644 --- a/lingucomponent/source/languageguessing/guess.hxx +++ b/lingucomponent/source/languageguessing/guess.hxx @@ -48,9 +48,9 @@ class Guess{ ~Guess(); - string GetLanguage(); - string GetCountry(); - string GetEncoding(); + string GetLanguage() { return language_str;} + string GetCountry() { return country_str;} + string GetEncoding() { return encoding_str;} bool operator==(string lang); |