diff options
Diffstat (limited to 'i18npool/inc')
-rw-r--r-- | i18npool/inc/collator_unicode.hxx | 5 | ||||
-rw-r--r-- | i18npool/inc/indexentrysupplier.hxx | 3 | ||||
-rw-r--r-- | i18npool/inc/transliteration_caseignore.hxx | 6 |
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; }; } |