summaryrefslogtreecommitdiff
path: root/i18npool
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 /i18npool
parentaf318eeb4e23694e17b09b902afb98ddf9da9b7b (diff)
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 'i18npool')
-rw-r--r--i18npool/inc/collator_unicode.hxx5
-rw-r--r--i18npool/inc/indexentrysupplier.hxx3
-rw-r--r--i18npool/inc/transliteration_caseignore.hxx6
3 files changed, 6 insertions, 8 deletions
diff --git a/i18npool/inc/collator_unicode.hxx b/i18npool/inc/collator_unicode.hxx
index 1ec407517a56..69d317797870 100644
--- a/i18npool/inc/collator_unicode.hxx
+++ b/i18npool/inc/collator_unicode.hxx
@@ -32,7 +32,7 @@
namespace i18npool {
-class Collator_Unicode : public cppu::WeakImplHelper < css::i18n::XCollator, css::lang::XServiceInfo >
+class Collator_Unicode final : public cppu::WeakImplHelper < css::i18n::XCollator, css::lang::XServiceInfo >
{
public:
// Constructors
@@ -61,9 +61,8 @@ public:
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
-protected:
- const sal_Char *implementationName;
private:
+ const sal_Char *implementationName;
RuleBasedCollator *uca_base, *collator;
#ifndef DISABLE_DYNLOADING
oslModule hModule;
diff --git a/i18npool/inc/indexentrysupplier.hxx b/i18npool/inc/indexentrysupplier.hxx
index 4d8e33b76358..2194e4fd1c2a 100644
--- a/i18npool/inc/indexentrysupplier.hxx
+++ b/i18npool/inc/indexentrysupplier.hxx
@@ -29,7 +29,7 @@ namespace i18npool {
// class IndexEntrySupplier
-class IndexEntrySupplier : public cppu::WeakImplHelper
+class IndexEntrySupplier final : public cppu::WeakImplHelper
<
css::i18n::XExtendedIndexEntrySupplier,
css::lang::XServiceInfo
@@ -82,7 +82,6 @@ private:
css::uno::Reference < css::i18n::XExtendedIndexEntrySupplier > const & SAL_CALL getLocaleSpecificIndexEntrySupplier(
const css::lang::Locale& rLocale, const OUString& rSortAlgorithm);
-protected:
css::lang::Locale aLocale;
OUString aSortAlgorithm;
};
diff --git a/i18npool/inc/transliteration_caseignore.hxx b/i18npool/inc/transliteration_caseignore.hxx
index 4c028f40b528..cd49d57c65ab 100644
--- a/i18npool/inc/transliteration_caseignore.hxx
+++ b/i18npool/inc/transliteration_caseignore.hxx
@@ -23,7 +23,7 @@
namespace i18npool {
-class Transliteration_caseignore: public Transliteration_body
+class Transliteration_caseignore final : public Transliteration_body
{
public:
Transliteration_caseignore();
@@ -48,13 +48,13 @@ public:
const OUString& s1,
const OUString& s2) override;
-protected:
- TransliterationFlags moduleLoaded;
private:
/// @throws css::uno::RuntimeException
sal_Int32 SAL_CALL compare(
const OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1,
const OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2);
+
+ TransliterationFlags moduleLoaded;
};
}