summaryrefslogtreecommitdiffstats
path: root/lingucomponent
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-01 10:39:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-01 13:30:59 +0100
commitdd8060ddc418942d51bb07313546fe849aac9d39 (patch)
tree1a083a8d84458ff9d38c3120f437873cb4ae3bc9 /lingucomponent
parenttdf#113304,filepicker: encrypt w/ GPG only when it makes sense (diff)
downloadcore-dd8060ddc418942d51bb07313546fe849aac9d39.tar.gz
core-dd8060ddc418942d51bb07313546fe849aac9d39.zip
loplugin:finalclasses in h*,i*,j*
Change-Id: I3b5f319a88dbe6a9c2ffbfdf991345beda9a2fcd Reviewed-on: https://gerrit.libreoffice.org/44154 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.hxx4
-rw-r--r--lingucomponent/source/languageguessing/simpleguesser.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/lingucomponent/source/languageguessing/guess.hxx b/lingucomponent/source/languageguessing/guess.hxx
index 7af5f38c70a7..eeb7aa192671 100644
--- a/lingucomponent/source/languageguessing/guess.hxx
+++ b/lingucomponent/source/languageguessing/guess.hxx
@@ -33,7 +33,7 @@ using namespace std;
/**
@author Jocelyn Merand
*/
-class Guess{
+class Guess final {
public:
/**
@@ -51,7 +51,7 @@ class Guess{
const string& GetLanguage() { return language_str;}
const string& GetCountry() { return country_str;}
- protected:
+ private:
string language_str;
string country_str;
string encoding_str;
diff --git a/lingucomponent/source/languageguessing/simpleguesser.hxx b/lingucomponent/source/languageguessing/simpleguesser.hxx
index 39a83ec71522..5ce3e2930740 100644
--- a/lingucomponent/source/languageguessing/simpleguesser.hxx
+++ b/lingucomponent/source/languageguessing/simpleguesser.hxx
@@ -32,7 +32,7 @@ using namespace std;
/**
@author Jocelyn Merand
*/
-class SimpleGuesser{
+class SimpleGuesser final {
public:
/**inits the object with conf file "./conf.txt"*/
SimpleGuesser();
@@ -98,7 +98,7 @@ public:
*/
void SetDBPath(const char* thePathOfConfFile, const char* prefix);
-protected:
+private:
//Where typical fingerprints (n-gram tables) are stored
void* h;