diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-16 14:22:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-17 11:59:28 +0200 |
commit | b275246c30ce3796cd22f72cd82c58b5cf4c86f0 (patch) | |
tree | 45888716a37d4294697fa958be709e3af845c29d /lingucomponent | |
parent | f046fed2782f0d4244aff719ba70a56399a2583a (diff) |
loplugin:unusedfields in formula..registry
Change-Id: I031654d8bb4f1788d364ef4f8d3bf7a05fadb148
Reviewed-on: https://gerrit.libreoffice.org/54454
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/languageguessing/guess.cxx | 6 | ||||
-rw-r--r-- | lingucomponent/source/languageguessing/guess.hxx | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/lingucomponent/source/languageguessing/guess.cxx b/lingucomponent/source/languageguessing/guess.cxx index cd6b0427f717..7c578672d19e 100644 --- a/lingucomponent/source/languageguessing/guess.cxx +++ b/lingucomponent/source/languageguessing/guess.cxx @@ -47,7 +47,6 @@ inline bool isSeparator(const char c){ Guess::Guess() : language_str(DEFAULT_LANGUAGE) , country_str(DEFAULT_COUNTRY) - , encoding_str(DEFAULT_ENCODING) { } @@ -59,7 +58,6 @@ Guess::Guess() Guess::Guess(const char * guess_str) : language_str(DEFAULT_LANGUAGE) , country_str(DEFAULT_COUNTRY) - , encoding_str(DEFAULT_ENCODING) { string lang; string country; @@ -103,10 +101,6 @@ Guess::Guess(const char * guess_str) language_str=lang; } country_str=country; - - if(enc!=""){//if not we use the default value - encoding_str=enc; - } } } diff --git a/lingucomponent/source/languageguessing/guess.hxx b/lingucomponent/source/languageguessing/guess.hxx index 5227c8f12be8..9277f94c559d 100644 --- a/lingucomponent/source/languageguessing/guess.hxx +++ b/lingucomponent/source/languageguessing/guess.hxx @@ -51,7 +51,6 @@ class Guess final { private: string language_str; string country_str; - string encoding_str; }; #endif |