summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i18npool/inc/breakiterator_cjk.hxx2
-rw-r--r--i18npool/inc/breakiterator_th.hxx2
-rw-r--r--i18npool/inc/calendar_gregorian.hxx10
-rw-r--r--i18npool/inc/calendar_hijri.hxx4
-rw-r--r--i18npool/inc/calendar_jewish.hxx4
-rw-r--r--i18npool/inc/cclass_unicode.hxx2
-rw-r--r--i18npool/inc/chaptercollator.hxx2
-rw-r--r--i18npool/inc/characterclassificationImpl.hxx2
-rw-r--r--i18npool/inc/chartonum.hxx2
-rw-r--r--i18npool/inc/defaultnumberingprovider.hxx2
-rw-r--r--i18npool/inc/indexentrysupplier_asian.hxx2
-rw-r--r--i18npool/inc/indexentrysupplier_default.hxx2
-rw-r--r--i18npool/inc/indexentrysupplier_ja_phonetic.hxx2
-rw-r--r--i18npool/inc/inputsequencechecker_hi.hxx2
-rw-r--r--i18npool/inc/inputsequencechecker_th.hxx2
-rw-r--r--i18npool/inc/localedata.hxx2
-rw-r--r--i18npool/inc/nativenumbersupplier.hxx2
-rw-r--r--i18npool/inc/numberformatcode.hxx2
-rw-r--r--i18npool/inc/numtochar.hxx2
-rw-r--r--i18npool/inc/numtotext_cjk.hxx2
-rw-r--r--i18npool/inc/ordinalsuffix.hxx2
-rw-r--r--i18npool/inc/textToPronounce_zh.hxx2
-rw-r--r--i18npool/inc/textconversion.hxx4
-rw-r--r--i18npool/inc/textconversionImpl.hxx2
-rw-r--r--i18npool/inc/texttonum.hxx2
-rw-r--r--i18npool/inc/transliterationImpl.hxx2
-rw-r--r--i18npool/inc/transliteration_Ignore.hxx8
-rw-r--r--i18npool/inc/transliteration_OneToOne.hxx10
-rw-r--r--i18npool/inc/transliteration_body.hxx12
-rw-r--r--i18npool/inc/unoscripttypedetector.hxx2
-rw-r--r--idl/inc/database.hxx2
-rw-r--r--idl/inc/module.hxx2
-rw-r--r--idl/inc/types.hxx8
-rw-r--r--idlc/inc/astattribute.hxx2
-rw-r--r--idlc/inc/astbasetype.hxx2
-rw-r--r--idlc/inc/astconstant.hxx2
-rw-r--r--idlc/inc/astconstants.hxx2
-rw-r--r--idlc/inc/astenum.hxx2
-rw-r--r--idlc/inc/astexception.hxx2
-rw-r--r--idlc/inc/astinterfacemember.hxx2
-rw-r--r--idlc/inc/astneeds.hxx2
-rw-r--r--idlc/inc/astobserves.hxx2
-rw-r--r--idlc/inc/astoperation.hxx2
-rw-r--r--idlc/inc/astparameter.hxx2
-rw-r--r--idlc/inc/astsequence.hxx2
-rw-r--r--idlc/inc/astservice.hxx2
-rw-r--r--idlc/inc/astservicemember.hxx2
-rw-r--r--idlc/inc/aststructinstance.hxx2
-rw-r--r--idlc/inc/asttypedef.hxx2
-rw-r--r--jvmfwk/inc/vendorbase.hxx2
-rw-r--r--l10ntools/inc/po.hxx2
-rw-r--r--l10ntools/inc/xmlparse.hxx4
-rw-r--r--l10ntools/inc/xrmmerge.hxx7
-rw-r--r--linguistic/inc/iprcache.hxx2
54 files changed, 79 insertions, 80 deletions
diff --git a/i18npool/inc/breakiterator_cjk.hxx b/i18npool/inc/breakiterator_cjk.hxx
index a088bd3d94c7..5b8e2693f69c 100644
--- a/i18npool/inc/breakiterator_cjk.hxx
+++ b/i18npool/inc/breakiterator_cjk.hxx
@@ -49,7 +49,7 @@ protected:
};
#define BREAKITERATOR_CJK( lang ) \
-class BreakIterator_##lang : public BreakIterator_CJK {\
+class BreakIterator_##lang final : public BreakIterator_CJK {\
public:\
BreakIterator_##lang (); \
};
diff --git a/i18npool/inc/breakiterator_th.hxx b/i18npool/inc/breakiterator_th.hxx
index 347eb68b1138..c694e79e2575 100644
--- a/i18npool/inc/breakiterator_th.hxx
+++ b/i18npool/inc/breakiterator_th.hxx
@@ -25,7 +25,7 @@ namespace i18npool {
-class BreakIterator_th : public BreakIterator_Unicode
+class BreakIterator_th final : public BreakIterator_Unicode
{
public:
BreakIterator_th();
diff --git a/i18npool/inc/calendar_gregorian.hxx b/i18npool/inc/calendar_gregorian.hxx
index d579ee735f00..10bde05b2027 100644
--- a/i18npool/inc/calendar_gregorian.hxx
+++ b/i18npool/inc/calendar_gregorian.hxx
@@ -146,7 +146,7 @@ private:
-class Calendar_hanja : public Calendar_gregorian
+class Calendar_hanja final : public Calendar_gregorian
{
public:
// Constructors
@@ -157,7 +157,7 @@ public:
-class Calendar_gengou : public Calendar_gregorian
+class Calendar_gengou final : public Calendar_gregorian
{
public:
// Constructors
@@ -166,7 +166,7 @@ public:
-class Calendar_ROC : public Calendar_gregorian
+class Calendar_ROC final : public Calendar_gregorian
{
public:
// Constructors
@@ -175,7 +175,7 @@ public:
-class Calendar_dangi : public Calendar_gregorian
+class Calendar_dangi final : public Calendar_gregorian
{
public:
// Constructors
@@ -184,7 +184,7 @@ public:
-class Calendar_buddhist : public Calendar_gregorian
+class Calendar_buddhist final : public Calendar_gregorian
{
public:
// Constructors
diff --git a/i18npool/inc/calendar_hijri.hxx b/i18npool/inc/calendar_hijri.hxx
index 3889a9bb3e28..f8511842d6a7 100644
--- a/i18npool/inc/calendar_hijri.hxx
+++ b/i18npool/inc/calendar_hijri.hxx
@@ -26,14 +26,14 @@
namespace i18npool {
-class Calendar_hijri : public Calendar_gregorian
+class Calendar_hijri final : public Calendar_gregorian
{
public:
// Constructors
Calendar_hijri();
-protected:
+private:
void mapToGregorian() override;
void mapFromGregorian() override;
diff --git a/i18npool/inc/calendar_jewish.hxx b/i18npool/inc/calendar_jewish.hxx
index f500fa6f05e2..8a1e9f9057ba 100644
--- a/i18npool/inc/calendar_jewish.hxx
+++ b/i18npool/inc/calendar_jewish.hxx
@@ -26,7 +26,7 @@
namespace i18npool {
-class Calendar_jewish : public Calendar_gregorian
+class Calendar_jewish final : public Calendar_gregorian
{
public:
// Constructors
@@ -35,7 +35,7 @@ public:
// Methods in XExtendedCalendar
virtual OUString SAL_CALL getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode ) override;
-protected:
+private:
void mapToGregorian() override;
void mapFromGregorian() override;
};
diff --git a/i18npool/inc/cclass_unicode.hxx b/i18npool/inc/cclass_unicode.hxx
index 3a702ca9d909..643f8b0b4bdb 100644
--- a/i18npool/inc/cclass_unicode.hxx
+++ b/i18npool/inc/cclass_unicode.hxx
@@ -63,7 +63,7 @@ namespace o3tl {
namespace i18npool {
-class cclass_Unicode : public cppu::WeakImplHelper < css::i18n::XCharacterClassification, css::lang::XServiceInfo >
+class cclass_Unicode final : public cppu::WeakImplHelper < css::i18n::XCharacterClassification, css::lang::XServiceInfo >
{
public:
cclass_Unicode(const css::uno::Reference < css::uno::XComponentContext >& rxContext );
diff --git a/i18npool/inc/chaptercollator.hxx b/i18npool/inc/chaptercollator.hxx
index 9197c82df8f5..deb897a69b7e 100644
--- a/i18npool/inc/chaptercollator.hxx
+++ b/i18npool/inc/chaptercollator.hxx
@@ -28,7 +28,7 @@ namespace i18npool {
// ----------------------------------------------------
// class ChapterCollator
// ----------------------------------------------------
-class ChapterCollator : public CollatorImpl
+class ChapterCollator final : public CollatorImpl
{
public:
// Constructors
diff --git a/i18npool/inc/characterclassificationImpl.hxx b/i18npool/inc/characterclassificationImpl.hxx
index ec71ad75c7ca..34723ef74123 100644
--- a/i18npool/inc/characterclassificationImpl.hxx
+++ b/i18npool/inc/characterclassificationImpl.hxx
@@ -29,7 +29,7 @@ namespace com::sun::star::uno { class XComponentContext; }
namespace i18npool {
-class CharacterClassificationImpl : public cppu::WeakImplHelper
+class CharacterClassificationImpl final : public cppu::WeakImplHelper
<
css::i18n::XCharacterClassification,
css::lang::XServiceInfo
diff --git a/i18npool/inc/chartonum.hxx b/i18npool/inc/chartonum.hxx
index 5a3be17064ba..d908334b8a0f 100644
--- a/i18npool/inc/chartonum.hxx
+++ b/i18npool/inc/chartonum.hxx
@@ -25,7 +25,7 @@
namespace i18npool {
#define TRANSLITERATION_CHARTONUM( name ) \
-class CharToNum##name : public transliteration_Numeric \
+class CharToNum##name final : public transliteration_Numeric \
{ \
public: \
CharToNum##name (); \
diff --git a/i18npool/inc/defaultnumberingprovider.hxx b/i18npool/inc/defaultnumberingprovider.hxx
index eb309b83c358..6dc0751f0520 100644
--- a/i18npool/inc/defaultnumberingprovider.hxx
+++ b/i18npool/inc/defaultnumberingprovider.hxx
@@ -37,7 +37,7 @@ namespace i18npool {
namespace i18npool {
-class DefaultNumberingProvider : public cppu::WeakImplHelper
+class DefaultNumberingProvider final : public cppu::WeakImplHelper
<
css::text::XDefaultNumberingProvider,
css::text::XNumberingFormatter,
diff --git a/i18npool/inc/indexentrysupplier_asian.hxx b/i18npool/inc/indexentrysupplier_asian.hxx
index 357a340caaf1..a993d7f16ac6 100644
--- a/i18npool/inc/indexentrysupplier_asian.hxx
+++ b/i18npool/inc/indexentrysupplier_asian.hxx
@@ -28,7 +28,7 @@ namespace i18npool {
-class IndexEntrySupplier_asian : public IndexEntrySupplier_Common {
+class IndexEntrySupplier_asian final : public IndexEntrySupplier_Common {
public:
IndexEntrySupplier_asian( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
virtual ~IndexEntrySupplier_asian() override;
diff --git a/i18npool/inc/indexentrysupplier_default.hxx b/i18npool/inc/indexentrysupplier_default.hxx
index 5f93e8e20698..29fe3cdbf214 100644
--- a/i18npool/inc/indexentrysupplier_default.hxx
+++ b/i18npool/inc/indexentrysupplier_default.hxx
@@ -29,7 +29,7 @@ class Index;
-class IndexEntrySupplier_Unicode : public IndexEntrySupplier_Common {
+class IndexEntrySupplier_Unicode final : public IndexEntrySupplier_Common {
public:
IndexEntrySupplier_Unicode( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
virtual ~IndexEntrySupplier_Unicode() override;
diff --git a/i18npool/inc/indexentrysupplier_ja_phonetic.hxx b/i18npool/inc/indexentrysupplier_ja_phonetic.hxx
index 8b65843d0225..cced5597c22d 100644
--- a/i18npool/inc/indexentrysupplier_ja_phonetic.hxx
+++ b/i18npool/inc/indexentrysupplier_ja_phonetic.hxx
@@ -43,7 +43,7 @@ public:
};
#define INDEXENTRYSUPPLIER_JA_PHONETIC( algorithm ) \
-class IndexEntrySupplier_##algorithm : public IndexEntrySupplier_ja_phonetic {\
+class IndexEntrySupplier_##algorithm final : public IndexEntrySupplier_ja_phonetic {\
public:\
IndexEntrySupplier_##algorithm (const css::uno::Reference < css::uno::XComponentContext >& rxContext) : IndexEntrySupplier_ja_phonetic (rxContext) {\
implementationName = "com.sun.star.i18n.IndexEntrySupplier_"#algorithm;\
diff --git a/i18npool/inc/inputsequencechecker_hi.hxx b/i18npool/inc/inputsequencechecker_hi.hxx
index b7253e49ddda..88cfc9801126 100644
--- a/i18npool/inc/inputsequencechecker_hi.hxx
+++ b/i18npool/inc/inputsequencechecker_hi.hxx
@@ -25,7 +25,7 @@ namespace i18npool {
-class InputSequenceChecker_hi : public InputSequenceCheckerImpl
+class InputSequenceChecker_hi final : public InputSequenceCheckerImpl
{
public:
InputSequenceChecker_hi();
diff --git a/i18npool/inc/inputsequencechecker_th.hxx b/i18npool/inc/inputsequencechecker_th.hxx
index aff2c248ca78..582bbd9ade94 100644
--- a/i18npool/inc/inputsequencechecker_th.hxx
+++ b/i18npool/inc/inputsequencechecker_th.hxx
@@ -25,7 +25,7 @@ namespace i18npool {
-class InputSequenceChecker_th : public InputSequenceCheckerImpl
+class InputSequenceChecker_th final : public InputSequenceCheckerImpl
{
public:
InputSequenceChecker_th();
diff --git a/i18npool/inc/localedata.hxx b/i18npool/inc/localedata.hxx
index d8612a362bf0..19933376776f 100644
--- a/i18npool/inc/localedata.hxx
+++ b/i18npool/inc/localedata.hxx
@@ -48,7 +48,7 @@ struct LocaleDataLookupTableItem;
namespace i18npool {
-class LocaleDataImpl : public cppu::WeakImplHelper
+class LocaleDataImpl final : public cppu::WeakImplHelper
<
css::i18n::XLocaleData5,
css::lang::XServiceInfo
diff --git a/i18npool/inc/nativenumbersupplier.hxx b/i18npool/inc/nativenumbersupplier.hxx
index 9bd37854bd70..c452cb4306df 100644
--- a/i18npool/inc/nativenumbersupplier.hxx
+++ b/i18npool/inc/nativenumbersupplier.hxx
@@ -31,7 +31,7 @@ namespace i18npool {
// ----------------------------------------------------
// class NativeNumberSupplierService
// ----------------------------------------------------
-class NativeNumberSupplierService : public cppu::WeakImplHelper
+class NativeNumberSupplierService final : public cppu::WeakImplHelper
<
css::i18n::XNativeNumberSupplier2,
css::lang::XServiceInfo
diff --git a/i18npool/inc/numberformatcode.hxx b/i18npool/inc/numberformatcode.hxx
index 8a0c306d5529..47055edb8967 100644
--- a/i18npool/inc/numberformatcode.hxx
+++ b/i18npool/inc/numberformatcode.hxx
@@ -33,7 +33,7 @@ namespace com::sun::star::i18n { class XLocaleData5; }
namespace com::sun::star::i18n { struct FormatElement; }
namespace com::sun::star::uno { class XComponentContext; }
-class NumberFormatCodeMapper : public cppu::WeakImplHelper
+class NumberFormatCodeMapper final : public cppu::WeakImplHelper
<
css::i18n::XNumberFormatCode,
css::lang::XServiceInfo
diff --git a/i18npool/inc/numtochar.hxx b/i18npool/inc/numtochar.hxx
index 104b172478b1..686d72d5c077 100644
--- a/i18npool/inc/numtochar.hxx
+++ b/i18npool/inc/numtochar.hxx
@@ -25,7 +25,7 @@
namespace i18npool {
#define TRANSLITERATION_NUMTOCHAR( name ) \
-class NumToChar##name : public transliteration_Numeric \
+class NumToChar##name final : public transliteration_Numeric \
{ \
public: \
NumToChar##name (); \
diff --git a/i18npool/inc/numtotext_cjk.hxx b/i18npool/inc/numtotext_cjk.hxx
index e750d12275aa..56f7b5f0235e 100644
--- a/i18npool/inc/numtotext_cjk.hxx
+++ b/i18npool/inc/numtotext_cjk.hxx
@@ -25,7 +25,7 @@
namespace i18npool {
#define TRANSLITERATION_NUMTOTEXT_CJK( name ) \
-class NumToText##name : public transliteration_Numeric \
+class NumToText##name final : public transliteration_Numeric \
{ \
public: \
NumToText##name (); \
diff --git a/i18npool/inc/ordinalsuffix.hxx b/i18npool/inc/ordinalsuffix.hxx
index ef7e4a49f932..65c41f51ed55 100644
--- a/i18npool/inc/ordinalsuffix.hxx
+++ b/i18npool/inc/ordinalsuffix.hxx
@@ -28,7 +28,7 @@ namespace com::sun::star::lang { struct Locale; }
namespace i18npool {
-class OrdinalSuffixService : public cppu::WeakImplHelper
+class OrdinalSuffixService final : public cppu::WeakImplHelper
<
css::i18n::XOrdinalSuffix,
css::lang::XServiceInfo
diff --git a/i18npool/inc/textToPronounce_zh.hxx b/i18npool/inc/textToPronounce_zh.hxx
index df948148c315..3bafc4e70ce7 100644
--- a/i18npool/inc/textToPronounce_zh.hxx
+++ b/i18npool/inc/textToPronounce_zh.hxx
@@ -57,7 +57,7 @@ public:
};
#define TRANSLITERATION_TextToPronounce_zh( name ) \
-class name : public TextToPronounce_zh \
+class name final : public TextToPronounce_zh \
{ \
public: \
name (); \
diff --git a/i18npool/inc/textconversion.hxx b/i18npool/inc/textconversion.hxx
index 76ec8abf06e7..efd9b587a760 100644
--- a/i18npool/inc/textconversion.hxx
+++ b/i18npool/inc/textconversion.hxx
@@ -83,7 +83,7 @@ typedef struct {
-class TextConversion_ko : public TextConversionService
+class TextConversion_ko final : public TextConversionService
{
public:
TextConversion_ko( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
@@ -125,7 +125,7 @@ typedef struct {
sal_Int16 count;
} STC_WordIndex;
-class TextConversion_zh : public TextConversionService
+class TextConversion_zh final : public TextConversionService
{
public:
TextConversion_zh( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
diff --git a/i18npool/inc/textconversionImpl.hxx b/i18npool/inc/textconversionImpl.hxx
index fd9ab9cf2177..4a104f59719a 100644
--- a/i18npool/inc/textconversionImpl.hxx
+++ b/i18npool/inc/textconversionImpl.hxx
@@ -29,7 +29,7 @@ namespace i18npool {
-class TextConversionImpl : public cppu::WeakImplHelper
+class TextConversionImpl final : public cppu::WeakImplHelper
<
css::i18n::XExtendedTextConversion,
css::lang::XServiceInfo
diff --git a/i18npool/inc/texttonum.hxx b/i18npool/inc/texttonum.hxx
index 7f10cca9f4db..de8fa829530d 100644
--- a/i18npool/inc/texttonum.hxx
+++ b/i18npool/inc/texttonum.hxx
@@ -25,7 +25,7 @@
namespace i18npool {
#define TRANSLITERATION_TEXTTONUM( name ) \
-class TextToNum##name : public transliteration_Numeric \
+class TextToNum##name final : public transliteration_Numeric \
{ \
public: \
TextToNum##name (); \
diff --git a/i18npool/inc/transliterationImpl.hxx b/i18npool/inc/transliterationImpl.hxx
index 21ca033ab4b5..822ab835aec5 100644
--- a/i18npool/inc/transliterationImpl.hxx
+++ b/i18npool/inc/transliterationImpl.hxx
@@ -29,7 +29,7 @@ namespace com::sun::star::uno { class XComponentContext; }
namespace i18npool {
-class TransliterationImpl : public cppu::WeakImplHelper
+class TransliterationImpl final : public cppu::WeakImplHelper
<
css::i18n::XExtendedTransliteration,
css::lang::XServiceInfo
diff --git a/i18npool/inc/transliteration_Ignore.hxx b/i18npool/inc/transliteration_Ignore.hxx
index f8b9a554f4b2..838c48d53803 100644
--- a/i18npool/inc/transliteration_Ignore.hxx
+++ b/i18npool/inc/transliteration_Ignore.hxx
@@ -71,7 +71,7 @@ protected:
};
#define TRANSLITERATION_IGNORE( name ) \
-class ignore##name : public transliteration_Ignore {\
+class ignore##name final : public transliteration_Ignore {\
public:\
ignore##name ();\
};
@@ -89,7 +89,7 @@ TRANSLITERATION_IGNORE(TraditionalKanji_ja_JP)
TRANSLITERATION_IGNORE(ZiZu_ja_JP)
TRANSLITERATION_IGNORE(Kashida_CTL)
-class ignoreDiacritics_CTL : public transliteration_Ignore
+class ignoreDiacritics_CTL final : public transliteration_Ignore
{
icu::Transliterator* m_transliterator;
@@ -106,7 +106,7 @@ public:
#undef TRANSLITERATION_IGNORE
#define TRANSLITERATION_IGNORE( name ) \
-class ignore##name : public transliteration_Ignore {\
+class ignore##name final : public transliteration_Ignore {\
public:\
ignore##name () {\
func = nullptr;\
@@ -127,7 +127,7 @@ TRANSLITERATION_IGNORE(ProlongedSoundMark_ja_JP)
#undef TRANSLITERATION_IGNORE
#define TRANSLITERATION_IGNORE( name ) \
-class ignore##name : public transliteration_Ignore {\
+class ignore##name final : public transliteration_Ignore {\
public:\
ignore##name () {\
func = nullptr;\
diff --git a/i18npool/inc/transliteration_OneToOne.hxx b/i18npool/inc/transliteration_OneToOne.hxx
index fc45755c9f13..45a3f61a9a37 100644
--- a/i18npool/inc/transliteration_OneToOne.hxx
+++ b/i18npool/inc/transliteration_OneToOne.hxx
@@ -55,7 +55,7 @@ protected:
};
#define TRANSLITERATION_ONETOONE( name ) \
-class name : public transliteration_OneToOne \
+class name final : public transliteration_OneToOne \
{ \
public: \
name (); \
@@ -71,21 +71,21 @@ TRANSLITERATION_ONETOONE( fullwidthToHalfwidth )
TRANSLITERATION_ONETOONE( fullwidthKatakanaToHalfwidthKatakana )
TRANSLITERATION_ONETOONE( fullwidthToHalfwidthLikeASC )
-class halfwidthToFullwidth : public transliteration_OneToOne
+class halfwidthToFullwidth final : public transliteration_OneToOne
{
public:
halfwidthToFullwidth();
OUString
transliterateImpl( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset, bool useOffset ) override;
};
-class halfwidthKatakanaToFullwidthKatakana : public transliteration_OneToOne
+class halfwidthKatakanaToFullwidthKatakana final : public transliteration_OneToOne
{
public:
halfwidthKatakanaToFullwidthKatakana();
OUString
transliterateImpl( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset, bool useOffset ) override;
};
-class halfwidthToFullwidthLikeJIS : public transliteration_OneToOne
+class halfwidthToFullwidthLikeJIS final : public transliteration_OneToOne
{
public:
halfwidthToFullwidthLikeJIS();
@@ -96,7 +96,7 @@ public:
#undef TRANSLITERATION_ONETOONE
#define TRANSLITERATION_ONETOONE( name ) \
-class name : public transliteration_OneToOne \
+class name final : public transliteration_OneToOne \
{ \
public: \
name (); \
diff --git a/i18npool/inc/transliteration_body.hxx b/i18npool/inc/transliteration_body.hxx
index 5476cc841454..aea4cd79531e 100644
--- a/i18npool/inc/transliteration_body.hxx
+++ b/i18npool/inc/transliteration_body.hxx
@@ -55,32 +55,32 @@ protected:
MappingType nMappingType;
};
-class Transliteration_u2l : public Transliteration_body
+class Transliteration_u2l final : public Transliteration_body
{
public:
Transliteration_u2l();
};
-class Transliteration_l2u : public Transliteration_body
+class Transliteration_l2u final : public Transliteration_body
{
public:
Transliteration_l2u();
};
-class Transliteration_casemapping : public Transliteration_body
+class Transliteration_casemapping final : public Transliteration_body
{
public:
Transliteration_casemapping();
void setMappingType(const MappingType rMappingType, const css::lang::Locale& rLocale );
};
-class Transliteration_togglecase : public Transliteration_body
+class Transliteration_togglecase final : public Transliteration_body
{
public:
Transliteration_togglecase();
};
-class Transliteration_titlecase : public Transliteration_body
+class Transliteration_titlecase final : public Transliteration_body
{
public:
Transliteration_titlecase();
@@ -89,7 +89,7 @@ public:
css::uno::Sequence< sal_Int32 >& offset, bool useOffset ) override;
};
-class Transliteration_sentencecase : public Transliteration_body
+class Transliteration_sentencecase final : public Transliteration_body
{
public:
Transliteration_sentencecase();
diff --git a/i18npool/inc/unoscripttypedetector.hxx b/i18npool/inc/unoscripttypedetector.hxx
index bf4ae87f6f14..2e1d3f2ff88e 100644
--- a/i18npool/inc/unoscripttypedetector.hxx
+++ b/i18npool/inc/unoscripttypedetector.hxx
@@ -26,7 +26,7 @@
-class UnoScriptTypeDetector : public cppu::WeakImplHelper
+class UnoScriptTypeDetector final : public cppu::WeakImplHelper
<
css::i18n::XScriptTypeDetector,
css::lang::XServiceInfo
diff --git a/idl/inc/database.hxx b/idl/inc/database.hxx
index 4d554ee964e1..caf3cf9fff4d 100644
--- a/idl/inc/database.hxx
+++ b/idl/inc/database.hxx
@@ -46,7 +46,7 @@ public:
bool IsError() const { return nLine != 0; }
};
-class SvParseException : public std::exception
+class SvParseException final : public std::exception
{
public:
SvIdlError aError;
diff --git a/idl/inc/module.hxx b/idl/inc/module.hxx
index 44030172a8a3..05587ee9681e 100644
--- a/idl/inc/module.hxx
+++ b/idl/inc/module.hxx
@@ -23,7 +23,7 @@
#include "slot.hxx"
#include "object.hxx"
-class SvMetaModule : public SvMetaObject
+class SvMetaModule final : public SvMetaObject
{
public:
SvRefMemberList<SvMetaClass *> aClassList;
diff --git a/idl/inc/types.hxx b/idl/inc/types.hxx
index a0f796fc66f9..97c353b36541 100644
--- a/idl/inc/types.hxx
+++ b/idl/inc/types.hxx
@@ -87,19 +87,19 @@ public:
SvTokenStream & rInStm );
};
-class SvMetaTypeString : public SvMetaType
+class SvMetaTypeString final : public SvMetaType
{
public:
SvMetaTypeString();
};
-class SvMetaEnumValue : public SvMetaObject
+class SvMetaEnumValue final : public SvMetaObject
{
public:
SvMetaEnumValue();
};
-class SvMetaTypeEnum : public SvMetaType
+class SvMetaTypeEnum final : public SvMetaType
{
public:
SvRefMemberList<SvMetaEnumValue *> aEnumValueList;
@@ -107,7 +107,7 @@ public:
SvMetaTypeEnum();
};
-class SvMetaTypevoid : public SvMetaType
+class SvMetaTypevoid final : public SvMetaType
{
public:
SvMetaTypevoid();
diff --git a/idlc/inc/astattribute.hxx b/idlc/inc/astattribute.hxx
index 7ce370a7fa94..b9a799f92db3 100644
--- a/idlc/inc/astattribute.hxx
+++ b/idlc/inc/astattribute.hxx
@@ -27,7 +27,7 @@
namespace typereg { class Writer; }
-class AstAttribute: public AstDeclaration, public AstScope {
+class AstAttribute final : public AstDeclaration, public AstScope {
public:
AstAttribute(
sal_uInt32 flags, AstType const * type, OString const & name,
diff --git a/idlc/inc/astbasetype.hxx b/idlc/inc/astbasetype.hxx
index e276be9f519b..9c4e6ea42575 100644
--- a/idlc/inc/astbasetype.hxx
+++ b/idlc/inc/astbasetype.hxx
@@ -23,7 +23,7 @@
#include "astexpression.hxx"
-class AstBaseType : public AstType
+class AstBaseType final : public AstType
{
public:
AstBaseType(const ExprType type, const OString& name, AstScope* pScope)
diff --git a/idlc/inc/astconstant.hxx b/idlc/inc/astconstant.hxx
index 9777bd77d5df..fb8b417f4073 100644
--- a/idlc/inc/astconstant.hxx
+++ b/idlc/inc/astconstant.hxx
@@ -24,7 +24,7 @@
namespace typereg { class Writer; }
-class AstConstant : public AstDeclaration
+class AstConstant final : public AstDeclaration
{
public:
AstConstant(const ExprType type, const NodeType nodeType,
diff --git a/idlc/inc/astconstants.hxx b/idlc/inc/astconstants.hxx
index f7a2cc4b19b3..cf97e2cc6971 100644
--- a/idlc/inc/astconstants.hxx
+++ b/idlc/inc/astconstants.hxx
@@ -21,7 +21,7 @@
#include "astmodule.hxx"
-class AstConstants : public AstModule
+class AstConstants final : public AstModule
{
public:
AstConstants(const OString& name, AstScope* pScope)
diff --git a/idlc/inc/astenum.hxx b/idlc/inc/astenum.hxx
index 72a90ee7ed6e..085a397b0f22 100644
--- a/idlc/inc/astenum.hxx
+++ b/idlc/inc/astenum.hxx
@@ -23,7 +23,7 @@
#include "astscope.hxx"
#include "astconstant.hxx"
-class AstEnum : public AstType
+class AstEnum final : public AstType
, public AstScope
{
public:
diff --git a/idlc/inc/astexception.hxx b/idlc/inc/astexception.hxx
index 39b01afe60e6..70c1ffc9c706 100644
--- a/idlc/inc/astexception.hxx
+++ b/idlc/inc/astexception.hxx
@@ -21,7 +21,7 @@
#include "aststruct.hxx"
-class AstException : public AstStruct
+class AstException final : public AstStruct
{
public:
AstException(const OString& name, AstException const * pBaseType, AstScope* pScope)
diff --git a/idlc/inc/astinterfacemember.hxx b/idlc/inc/astinterfacemember.hxx
index e421f75af5aa..0e290e1875d7 100644
--- a/idlc/inc/astinterfacemember.hxx
+++ b/idlc/inc/astinterfacemember.hxx
@@ -21,7 +21,7 @@
#include "astinterface.hxx"
-class AstInterfaceMember : public AstDeclaration
+class AstInterfaceMember final : public AstDeclaration
{
public:
AstInterfaceMember(const sal_uInt32 flags, AstInterface* pRealInterface,
diff --git a/idlc/inc/astneeds.hxx b/idlc/inc/astneeds.hxx
index 774369a03ff5..d0914222a091 100644
--- a/idlc/inc/astneeds.hxx
+++ b/idlc/inc/astneeds.hxx
@@ -21,7 +21,7 @@
#include "astservice.hxx"
-class AstNeeds : public AstDeclaration
+class AstNeeds final : public AstDeclaration
{
public:
AstNeeds(AstService* pRealService, const OString& name, AstScope* pScope)
diff --git a/idlc/inc/astobserves.hxx b/idlc/inc/astobserves.hxx
index 0607dc113b13..54da873b5631 100644
--- a/idlc/inc/astobserves.hxx
+++ b/idlc/inc/astobserves.hxx
@@ -21,7 +21,7 @@
#include "astinterface.hxx"
-class AstObserves : public AstDeclaration
+class AstObserves final : public AstDeclaration
{
public:
AstObserves(AstInterface* pRealInterface, const OString& name, AstScope* pScope)
diff --git a/idlc/inc/astoperation.hxx b/idlc/inc/astoperation.hxx
index a6aa2cffde1a..e3e0335c968e 100644
--- a/idlc/inc/astoperation.hxx
+++ b/idlc/inc/astoperation.hxx
@@ -26,7 +26,7 @@ namespace typereg { class Writer; }
class AstType;
-class AstOperation : public AstDeclaration
+class AstOperation final : public AstDeclaration
, public AstScope
{
public:
diff --git a/idlc/inc/astparameter.hxx b/idlc/inc/astparameter.hxx
index 72fdf9425d6a..cfee3426079b 100644
--- a/idlc/inc/astparameter.hxx
+++ b/idlc/inc/astparameter.hxx
@@ -24,7 +24,7 @@
enum Direction { DIR_IN, DIR_OUT, DIR_INOUT };
-class AstParameter: public AstMember {
+class AstParameter final : public AstMember {
public:
AstParameter(
Direction direction, bool rest, AstType const * type,
diff --git a/idlc/inc/astsequence.hxx b/idlc/inc/astsequence.hxx
index 6c2143267532..68a98dfe5162 100644
--- a/idlc/inc/astsequence.hxx
+++ b/idlc/inc/astsequence.hxx
@@ -21,7 +21,7 @@
#include "asttype.hxx"
-class AstSequence : public AstType
+class AstSequence final : public AstType
{
public:
AstSequence(AstType const * pMemberType, AstScope* pScope)
diff --git a/idlc/inc/astservice.hxx b/idlc/inc/astservice.hxx
index 6bdcebb01768..4ad769cd5e70 100644
--- a/idlc/inc/astservice.hxx
+++ b/idlc/inc/astservice.hxx
@@ -22,7 +22,7 @@
#include "astdeclaration.hxx"
#include "astscope.hxx"
-class AstService : public AstDeclaration
+class AstService final : public AstDeclaration
, public AstScope
{
public:
diff --git a/idlc/inc/astservicemember.hxx b/idlc/inc/astservicemember.hxx
index e4c272545172..380449b25529 100644
--- a/idlc/inc/astservicemember.hxx
+++ b/idlc/inc/astservicemember.hxx
@@ -21,7 +21,7 @@
#include "astservice.hxx"
-class AstServiceMember : public AstDeclaration
+class AstServiceMember final : public AstDeclaration
{
public:
AstServiceMember(const sal_uInt32 flags, AstService* pRealService,
diff --git a/idlc/inc/aststructinstance.hxx b/idlc/inc/aststructinstance.hxx
index 877fcd249ed1..1357aa351970 100644
--- a/idlc/inc/aststructinstance.hxx
+++ b/idlc/inc/aststructinstance.hxx
@@ -25,7 +25,7 @@
class AstScope;
-class AstStructInstance: public AstType {
+class AstStructInstance final : public AstType {
public:
AstStructInstance(
AstType const * typeTemplate, DeclList const * typeArguments,
diff --git a/idlc/inc/asttypedef.hxx b/idlc/inc/asttypedef.hxx
index 6271893b87c0..427d63307ba6 100644
--- a/idlc/inc/asttypedef.hxx
+++ b/idlc/inc/asttypedef.hxx
@@ -21,7 +21,7 @@
#include "asttype.hxx"
-class AstTypeDef : public AstType
+class AstTypeDef final : public AstType
{
public:
AstTypeDef(
diff --git a/jvmfwk/inc/vendorbase.hxx b/jvmfwk/inc/vendorbase.hxx
index c510a0cb866e..374a3cbcf655 100644
--- a/jvmfwk/inc/vendorbase.hxx
+++ b/jvmfwk/inc/vendorbase.hxx
@@ -80,7 +80,7 @@ OpenJDK at least, but probably not true for Lemotes JDK */
#endif // SPARC, INTEL, POWERPC, MIPS, MIPS64, ARM, IA64, M68K, HPPA, ALPHA
-class MalformedVersionException : public std::exception
+class MalformedVersionException final : public std::exception
{
public:
virtual ~MalformedVersionException() override;
diff --git a/l10ntools/inc/po.hxx b/l10ntools/inc/po.hxx
index bbbf289cbec6..778d70fe6cc9 100644
--- a/l10ntools/inc/po.hxx
+++ b/l10ntools/inc/po.hxx
@@ -129,7 +129,7 @@ private:
public:
- class Exception : public std::exception { };
+ class Exception final : public std::exception { };
PoIfstream();
PoIfstream( const OString& rFileName );
diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx
index 2b68055b1446..951d33b5d813 100644
--- a/l10ntools/inc/xmlparse.hxx
+++ b/l10ntools/inc/xmlparse.hxx
@@ -265,7 +265,7 @@ public:
/** Holds comments
*/
-class XMLComment : public XMLChildNode
+class XMLComment final : public XMLChildNode
{
private:
OString m_sComment;
@@ -288,7 +288,7 @@ public:
/** Holds additional file content like those for which no handler exists
*/
-class XMLDefault : public XMLChildNode
+class XMLDefault final : public XMLChildNode
{
private:
OString m_sDefault;
diff --git a/l10ntools/inc/xrmmerge.hxx b/l10ntools/inc/xrmmerge.hxx
index 7d55bcd89ac7..fd54f113b68b 100644
--- a/l10ntools/inc/xrmmerge.hxx
+++ b/l10ntools/inc/xrmmerge.hxx
@@ -70,13 +70,13 @@ public:
/// Export strings from *.xrm and description.xml files
-class XRMResExport : public XRMResParser
+class XRMResExport final : public XRMResParser
{
private:
std::unique_ptr<ResData> pResData;
OString sPath;
PoOfstream pOutputStream;
-protected:
+
void WorkOnDesc(
const OString &rOpenTag,
OString &rText
@@ -101,7 +101,7 @@ public:
/// Merge strings to *.xrm and description.xml files
-class XRMResMerge : public XRMResParser
+class XRMResMerge final : public XRMResParser
{
private:
std::unique_ptr<MergeDataFile> pMergeDataFile;
@@ -110,7 +110,6 @@ private:
std::ofstream pOutputStream;
std::vector<OString> aLanguages;
-protected:
void WorkOnDesc(
const OString &rOpenTag,
OString &rText
diff --git a/linguistic/inc/iprcache.hxx b/linguistic/inc/iprcache.hxx
index 434a4dc21635..1bfa1eef3fc1 100644
--- a/linguistic/inc/iprcache.hxx
+++ b/linguistic/inc/iprcache.hxx
@@ -39,7 +39,7 @@ namespace linguistic
class SpellCache;
-class FlushListener :
+class FlushListener final :
public cppu::WeakImplHelper
<
css::linguistic2::XDictionaryListEventListener,