From e73d13a11a00431d47322d18d44fdedbfe7f9f93 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 29 Oct 2019 09:57:35 +0200 Subject: loplugin:finalclasses in editeng Change-Id: Ie9da2c57fa9cd355dc5826cf5afd1c5b84cd22d7 Reviewed-on: https://gerrit.libreoffice.org/81648 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/editeng/AccessibleImageBullet.hxx | 2 +- include/editeng/CustomPropertyField.hxx | 2 +- include/editeng/acorrcfg.hxx | 5 +++-- include/editeng/adjustitem.hxx | 2 +- include/editeng/autokernitem.hxx | 2 +- include/editeng/blinkitem.hxx | 2 +- include/editeng/boxitem.hxx | 4 ++-- include/editeng/brushitem.hxx | 2 +- include/editeng/bulletitem.hxx | 2 +- include/editeng/charhiddenitem.hxx | 2 +- include/editeng/charreliefitem.hxx | 2 +- include/editeng/charrotateitem.hxx | 2 +- include/editeng/charscaleitem.hxx | 2 +- include/editeng/cmapitem.hxx | 2 +- include/editeng/colritem.hxx | 2 +- include/editeng/contouritem.hxx | 2 +- include/editeng/crossedoutitem.hxx | 2 +- include/editeng/editobj.hxx | 2 +- include/editeng/emphasismarkitem.hxx | 2 +- include/editeng/escapementitem.hxx | 2 +- include/editeng/fhgtitem.hxx | 2 +- include/editeng/flditem.hxx | 12 ++++++------ include/editeng/flstitem.hxx | 2 +- include/editeng/fontitem.hxx | 2 +- include/editeng/forbiddenruleitem.hxx | 2 +- include/editeng/formatbreakitem.hxx | 2 +- include/editeng/frmdiritem.hxx | 2 +- include/editeng/hngpnctitem.hxx | 2 +- include/editeng/hyphenzoneitem.hxx | 2 +- include/editeng/justifyitem.hxx | 6 +++--- include/editeng/keepitem.hxx | 2 +- include/editeng/kernitem.hxx | 2 +- include/editeng/langitem.hxx | 2 +- include/editeng/lineitem.hxx | 2 +- include/editeng/lrspitem.hxx | 2 +- include/editeng/lspcitem.hxx | 2 +- include/editeng/measfld.hxx | 2 +- include/editeng/nhypitem.hxx | 2 +- include/editeng/numitem.hxx | 2 +- include/editeng/opaqitem.hxx | 2 +- include/editeng/optitems.hxx | 2 +- include/editeng/orphitem.hxx | 2 +- include/editeng/paravertalignitem.hxx | 2 +- include/editeng/pbinitem.hxx | 2 +- include/editeng/pgrditem.hxx | 2 +- include/editeng/pmdlitem.hxx | 2 +- include/editeng/postitem.hxx | 2 +- include/editeng/prntitem.hxx | 2 +- include/editeng/protitem.hxx | 2 +- include/editeng/rsiditem.hxx | 2 +- include/editeng/scriptspaceitem.hxx | 2 +- include/editeng/scripttypeitem.hxx | 2 +- include/editeng/shaditem.hxx | 2 +- include/editeng/shdditem.hxx | 2 +- include/editeng/spltitem.hxx | 2 +- include/editeng/tstpitem.hxx | 2 +- include/editeng/twolinesitem.hxx | 2 +- include/editeng/udlnitem.hxx | 4 ++-- include/editeng/ulspitem.hxx | 2 +- include/editeng/unoedhlp.hxx | 2 +- include/editeng/unoedprx.hxx | 6 +++--- include/editeng/unofored.hxx | 2 +- include/editeng/unoforou.hxx | 2 +- include/editeng/unonrule.hxx | 2 +- include/editeng/unopracc.hxx | 2 +- include/editeng/unotext.hxx | 6 +++--- include/editeng/unoviwou.hxx | 2 +- include/editeng/wghtitem.hxx | 2 +- include/editeng/widwitem.hxx | 2 +- include/editeng/writingmodeitem.hxx | 2 +- include/editeng/wrlmitem.hxx | 2 +- include/editeng/xmlcnitm.hxx | 2 +- 72 files changed, 87 insertions(+), 86 deletions(-) diff --git a/include/editeng/AccessibleImageBullet.hxx b/include/editeng/AccessibleImageBullet.hxx index 6bc049b7fc02..b09e393cbae0 100644 --- a/include/editeng/AccessibleImageBullet.hxx +++ b/include/editeng/AccessibleImageBullet.hxx @@ -44,7 +44,7 @@ namespace accessibility /** This class implements the image bullets for the EditEngine/Outliner UAA */ - class AccessibleImageBullet : public AccessibleImageBulletInterfaceBase + class AccessibleImageBullet final : public AccessibleImageBulletInterfaceBase { public: diff --git a/include/editeng/CustomPropertyField.hxx b/include/editeng/CustomPropertyField.hxx index a49eba7bad3c..b44af7330bbc 100644 --- a/include/editeng/CustomPropertyField.hxx +++ b/include/editeng/CustomPropertyField.hxx @@ -23,7 +23,7 @@ namespace com::sun::star::document { class XDocumentProperties; } namespace editeng { -class EDITENG_DLLPUBLIC CustomPropertyField : public SvxFieldData +class EDITENG_DLLPUBLIC CustomPropertyField final : public SvxFieldData { private: OUString msName; diff --git a/include/editeng/acorrcfg.hxx b/include/editeng/acorrcfg.hxx index 8a79f0cb7262..407ed59df92f 100644 --- a/include/editeng/acorrcfg.hxx +++ b/include/editeng/acorrcfg.hxx @@ -25,7 +25,8 @@ class SvxAutoCorrect; class SvxAutoCorrCfg; -class EDITENG_DLLPUBLIC SvxBaseAutoCorrCfg : public utl::ConfigItem + +class EDITENG_DLLPUBLIC SvxBaseAutoCorrCfg final : public utl::ConfigItem { private: SvxAutoCorrCfg& rParent; @@ -42,7 +43,7 @@ public: using ConfigItem::SetModified; }; -class EDITENG_DLLPUBLIC SvxSwAutoCorrCfg : public utl::ConfigItem +class EDITENG_DLLPUBLIC SvxSwAutoCorrCfg final : public utl::ConfigItem { private: SvxAutoCorrCfg& rParent; diff --git a/include/editeng/adjustitem.hxx b/include/editeng/adjustitem.hxx index a06b177dd719..92158376f17e 100644 --- a/include/editeng/adjustitem.hxx +++ b/include/editeng/adjustitem.hxx @@ -32,7 +32,7 @@ This item describes the row orientation. */ #define ADJUST_LASTBLOCK_VERSION (sal_uInt16(0x0001)) -class EDITENG_DLLPUBLIC SvxAdjustItem : public SfxEnumItemInterface +class EDITENG_DLLPUBLIC SvxAdjustItem final : public SfxEnumItemInterface { bool bLeft : 1; bool bRight : 1; diff --git a/include/editeng/autokernitem.hxx b/include/editeng/autokernitem.hxx index ed18b8dffbed..6274f144aee6 100644 --- a/include/editeng/autokernitem.hxx +++ b/include/editeng/autokernitem.hxx @@ -29,7 +29,7 @@ Attribute for Pair-Kerning. */ -class EDITENG_DLLPUBLIC SvxAutoKernItem : public SfxBoolItem +class EDITENG_DLLPUBLIC SvxAutoKernItem final : public SfxBoolItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/blinkitem.hxx b/include/editeng/blinkitem.hxx index f6058693ccf6..037397a5fde9 100644 --- a/include/editeng/blinkitem.hxx +++ b/include/editeng/blinkitem.hxx @@ -30,7 +30,7 @@ This item describes, whether to flash. */ -class EDITENG_DLLPUBLIC SvxBlinkItem : public SfxBoolItem +class EDITENG_DLLPUBLIC SvxBlinkItem final : public SfxBoolItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/boxitem.hxx b/include/editeng/boxitem.hxx index 38b19173f183..ee317ec4fc99 100644 --- a/include/editeng/boxitem.hxx +++ b/include/editeng/boxitem.hxx @@ -52,7 +52,7 @@ serializing to stream. */ #define BOX_BORDER_STYLE_VERSION (sal_uInt16(2)) -class EDITENG_DLLPUBLIC SvxBoxItem : public SfxPoolItem +class EDITENG_DLLPUBLIC SvxBoxItem final : public SfxPoolItem { std::unique_ptr pTop, @@ -155,7 +155,7 @@ namespace o3tl template<> struct typed_flags : is_typed_flags {}; } -class EDITENG_DLLPUBLIC SvxBoxInfoItem : public SfxPoolItem +class EDITENG_DLLPUBLIC SvxBoxInfoItem final : public SfxPoolItem { std::unique_ptr pHori; //inner horizontal Line std::unique_ptr pVert; //inner vertical Line diff --git a/include/editeng/brushitem.hxx b/include/editeng/brushitem.hxx index 3bc6327da9c8..3455d1bfa925 100644 --- a/include/editeng/brushitem.hxx +++ b/include/editeng/brushitem.hxx @@ -41,7 +41,7 @@ enum SvxGraphicPosition GPOS_AREA, GPOS_TILED }; -class EDITENG_DLLPUBLIC SvxBrushItem : public SfxPoolItem +class EDITENG_DLLPUBLIC SvxBrushItem final : public SfxPoolItem { Color aColor; sal_Int32 nShadingValue; diff --git a/include/editeng/bulletitem.hxx b/include/editeng/bulletitem.hxx index be792db86804..a9931de515a6 100644 --- a/include/editeng/bulletitem.hxx +++ b/include/editeng/bulletitem.hxx @@ -43,7 +43,7 @@ enum class SvxBulletStyle // class SvxBulletItem --------------------------------------------------- -class EDITENG_DLLPUBLIC SvxBulletItem : public SfxPoolItem +class EDITENG_DLLPUBLIC SvxBulletItem final : public SfxPoolItem { vcl::Font aFont; std::unique_ptr diff --git a/include/editeng/charhiddenitem.hxx b/include/editeng/charhiddenitem.hxx index 625675dc2a89..8cc8df501149 100644 --- a/include/editeng/charhiddenitem.hxx +++ b/include/editeng/charhiddenitem.hxx @@ -29,7 +29,7 @@ This item marks text as hidden */ -class EDITENG_DLLPUBLIC SvxCharHiddenItem : public SfxBoolItem +class EDITENG_DLLPUBLIC SvxCharHiddenItem final : public SfxBoolItem { public: SvxCharHiddenItem( const bool bHidden /*= false*/, const sal_uInt16 nId ); diff --git a/include/editeng/charreliefitem.hxx b/include/editeng/charreliefitem.hxx index 64809845dfce..94eb995eede4 100644 --- a/include/editeng/charreliefitem.hxx +++ b/include/editeng/charreliefitem.hxx @@ -31,7 +31,7 @@ emboss, relief. */ -class EDITENG_DLLPUBLIC SvxCharReliefItem : public SfxEnumItem +class EDITENG_DLLPUBLIC SvxCharReliefItem final : public SfxEnumItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/charrotateitem.hxx b/include/editeng/charrotateitem.hxx index 2b3ab2fedc7d..07a35599a61f 100644 --- a/include/editeng/charrotateitem.hxx +++ b/include/editeng/charrotateitem.hxx @@ -69,7 +69,7 @@ public: */ -class EDITENG_DLLPUBLIC SvxCharRotateItem : public SvxTextRotateItem +class EDITENG_DLLPUBLIC SvxCharRotateItem final : public SvxTextRotateItem { bool bFitToLine; public: diff --git a/include/editeng/charscaleitem.hxx b/include/editeng/charscaleitem.hxx index d8397f4e19ff..7a2da36ade63 100644 --- a/include/editeng/charscaleitem.hxx +++ b/include/editeng/charscaleitem.hxx @@ -32,7 +32,7 @@ */ -class EDITENG_DLLPUBLIC SvxCharScaleWidthItem : public SfxUInt16Item +class EDITENG_DLLPUBLIC SvxCharScaleWidthItem final : public SfxUInt16Item { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/cmapitem.hxx b/include/editeng/cmapitem.hxx index 498c2910c47a..fea86c443fae 100644 --- a/include/editeng/cmapitem.hxx +++ b/include/editeng/cmapitem.hxx @@ -30,7 +30,7 @@ This item describe the font type (uppercase, small caps ,...). */ -class EDITENG_DLLPUBLIC SvxCaseMapItem : public SfxEnumItem +class EDITENG_DLLPUBLIC SvxCaseMapItem final : public SfxEnumItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/colritem.hxx b/include/editeng/colritem.hxx index d371b9ace3af..e1bf9e0c0a5d 100644 --- a/include/editeng/colritem.hxx +++ b/include/editeng/colritem.hxx @@ -61,7 +61,7 @@ public: }; // XXX: to be moved in a separate header. -class EDITENG_DLLPUBLIC SvxBackgroundColorItem : public SvxColorItem +class EDITENG_DLLPUBLIC SvxBackgroundColorItem final : public SvxColorItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/contouritem.hxx b/include/editeng/contouritem.hxx index 0941e21d856c..a656ccd7b4c0 100644 --- a/include/editeng/contouritem.hxx +++ b/include/editeng/contouritem.hxx @@ -28,7 +28,7 @@ This item describes, if contour is employed. */ -class EDITENG_DLLPUBLIC SvxContourItem : public SfxBoolItem +class EDITENG_DLLPUBLIC SvxContourItem final : public SfxBoolItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/crossedoutitem.hxx b/include/editeng/crossedoutitem.hxx index f7967588ffd5..945b19185d83 100644 --- a/include/editeng/crossedoutitem.hxx +++ b/include/editeng/crossedoutitem.hxx @@ -29,7 +29,7 @@ This item describes, whether and how it is striked out. */ -class EDITENG_DLLPUBLIC SvxCrossedOutItem : public SfxEnumItem +class EDITENG_DLLPUBLIC SvxCrossedOutItem final : public SfxEnumItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/editobj.hxx b/include/editeng/editobj.hxx index 360c3ce0d48b..b09832659f2b 100644 --- a/include/editeng/editobj.hxx +++ b/include/editeng/editobj.hxx @@ -54,7 +54,7 @@ class SharedStringPool; class EditTextObjectImpl; -class EDITENG_DLLPUBLIC EditTextObject : public SfxItemPoolUser +class EDITENG_DLLPUBLIC EditTextObject final : public SfxItemPoolUser { friend class EditTextObjectImpl; friend class editeng::FieldUpdaterImpl; diff --git a/include/editeng/emphasismarkitem.hxx b/include/editeng/emphasismarkitem.hxx index 86a3ab0837f3..720b2ee655af 100644 --- a/include/editeng/emphasismarkitem.hxx +++ b/include/editeng/emphasismarkitem.hxx @@ -30,7 +30,7 @@ This item describes the Font emphasis. */ -class EDITENG_DLLPUBLIC SvxEmphasisMarkItem : public SfxUInt16Item +class EDITENG_DLLPUBLIC SvxEmphasisMarkItem final : public SfxUInt16Item { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/escapementitem.hxx b/include/editeng/escapementitem.hxx index 82f9dde70823..b667faad1a5e 100644 --- a/include/editeng/escapementitem.hxx +++ b/include/editeng/escapementitem.hxx @@ -37,7 +37,7 @@ This item describes the writing position. */ -class EDITENG_DLLPUBLIC SvxEscapementItem : public SfxEnumItemInterface +class EDITENG_DLLPUBLIC SvxEscapementItem final : public SfxEnumItemInterface { short nEsc; sal_uInt8 nProp; diff --git a/include/editeng/fhgtitem.hxx b/include/editeng/fhgtitem.hxx index 5e67a71f0676..1c3ec9987466 100644 --- a/include/editeng/fhgtitem.hxx +++ b/include/editeng/fhgtitem.hxx @@ -36,7 +36,7 @@ #define FONTHEIGHT_16_VERSION (sal_uInt16(0x0001)) #define FONTHEIGHT_UNIT_VERSION (sal_uInt16(0x0002)) -class EDITENG_DLLPUBLIC SvxFontHeightItem : public SfxPoolItem +class EDITENG_DLLPUBLIC SvxFontHeightItem final : public SfxPoolItem { sal_uInt32 nHeight; sal_uInt16 nProp; // default 100% diff --git a/include/editeng/flditem.hxx b/include/editeng/flditem.hxx index 47dbe869be9b..6de611b82310 100644 --- a/include/editeng/flditem.hxx +++ b/include/editeng/flditem.hxx @@ -69,7 +69,7 @@ public: * belongs to the item. The field itself is determined by a derivation from * SvxFieldData (RTTI) */ -class EDITENG_DLLPUBLIC SvxFieldItem : public SfxPoolItem +class EDITENG_DLLPUBLIC SvxFieldItem final : public SfxPoolItem { std::unique_ptr mpField; public: @@ -102,7 +102,7 @@ enum class SvxDateFormat { F // Tuesday, 13.February 1996 }; -class EDITENG_DLLPUBLIC SvxDateField : public SvxFieldData +class EDITENG_DLLPUBLIC SvxDateField final : public SvxFieldData { sal_Int32 nFixDate; SvxDateType eType; @@ -144,7 +144,7 @@ enum class SvxURLFormat { Repr // Constitute representation }; -class EDITENG_DLLPUBLIC SvxURLField : public SvxFieldData +class EDITENG_DLLPUBLIC SvxURLField final : public SvxFieldData { private: SvxURLFormat eFormat; @@ -273,7 +273,7 @@ enum class SvxTimeFormat { HH12_MM_SS_00_AMPM // 01:49:38.78 PM }; -class EDITENG_DLLPUBLIC SvxExtTimeField : public SvxFieldData +class EDITENG_DLLPUBLIC SvxExtTimeField final : public SvxFieldData { private: sal_Int64 m_nFixTime; @@ -321,7 +321,7 @@ enum class SvxFileFormat { }; -class EDITENG_DLLPUBLIC SvxExtFileField : public SvxFieldData +class EDITENG_DLLPUBLIC SvxExtFileField final : public SvxFieldData { private: OUString aFile; @@ -362,7 +362,7 @@ enum class SvxAuthorFormat { ShortName // Initials }; -class EDITENG_DLLPUBLIC SvxAuthorField : public SvxFieldData +class EDITENG_DLLPUBLIC SvxAuthorField final : public SvxFieldData { private: OUString aName; diff --git a/include/editeng/flstitem.hxx b/include/editeng/flstitem.hxx index 624eef3f866e..86cd6c9a593a 100644 --- a/include/editeng/flstitem.hxx +++ b/include/editeng/flstitem.hxx @@ -35,7 +35,7 @@ class FontList; not copied and not deleted! */ -class EDITENG_DLLPUBLIC SvxFontListItem : public SfxPoolItem +class EDITENG_DLLPUBLIC SvxFontListItem final : public SfxPoolItem { private: const FontList* pFontList; diff --git a/include/editeng/fontitem.hxx b/include/editeng/fontitem.hxx index 66134a2ea9d3..6d6d105aa0fb 100644 --- a/include/editeng/fontitem.hxx +++ b/include/editeng/fontitem.hxx @@ -26,7 +26,7 @@ /** This item describes a Font. */ -class EDITENG_DLLPUBLIC SvxFontItem : public SfxPoolItem +class EDITENG_DLLPUBLIC SvxFontItem final : public SfxPoolItem { OUString aFamilyName; OUString aStyleName; diff --git a/include/editeng/forbiddenruleitem.hxx b/include/editeng/forbiddenruleitem.hxx index 66111f91f55f..9eaf4692c838 100644 --- a/include/editeng/forbiddenruleitem.hxx +++ b/include/editeng/forbiddenruleitem.hxx @@ -29,7 +29,7 @@ This item describe how to handle the last character of a line. */ -class EDITENG_DLLPUBLIC SvxForbiddenRuleItem : public SfxBoolItem +class EDITENG_DLLPUBLIC SvxForbiddenRuleItem final : public SfxBoolItem { public: SvxForbiddenRuleItem( bool bOn /*= false*/, diff --git a/include/editeng/formatbreakitem.hxx b/include/editeng/formatbreakitem.hxx index 760aca9c4a3b..3774639ff5b5 100644 --- a/include/editeng/formatbreakitem.hxx +++ b/include/editeng/formatbreakitem.hxx @@ -33,7 +33,7 @@ */ #define FMTBREAK_NOAUTO (sal_uInt16(0x0001)) -class EDITENG_DLLPUBLIC SvxFormatBreakItem : public SfxEnumItem +class EDITENG_DLLPUBLIC SvxFormatBreakItem final : public SfxEnumItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/frmdiritem.hxx b/include/editeng/frmdiritem.hxx index e7dede30ce90..6a0327dd051e 100644 --- a/include/editeng/frmdiritem.hxx +++ b/include/editeng/frmdiritem.hxx @@ -28,7 +28,7 @@ layout text for Western, CJK and CTL languages. */ -class EDITENG_DLLPUBLIC SvxFrameDirectionItem : public SfxEnumItem +class EDITENG_DLLPUBLIC SvxFrameDirectionItem final : public SfxEnumItem { public: SvxFrameDirectionItem( SvxFrameDirection nValue, sal_uInt16 nWhich ); diff --git a/include/editeng/hngpnctitem.hxx b/include/editeng/hngpnctitem.hxx index 791890d023ca..e22feddfa1a4 100644 --- a/include/editeng/hngpnctitem.hxx +++ b/include/editeng/hngpnctitem.hxx @@ -29,7 +29,7 @@ This item describe how to handle the last character of a line. */ -class EDITENG_DLLPUBLIC SvxHangingPunctuationItem : public SfxBoolItem +class EDITENG_DLLPUBLIC SvxHangingPunctuationItem final : public SfxBoolItem { public: SvxHangingPunctuationItem( bool bOn /*= false*/, const sal_uInt16 nId ); diff --git a/include/editeng/hyphenzoneitem.hxx b/include/editeng/hyphenzoneitem.hxx index 9f04697b83b7..fc718f916bdc 100644 --- a/include/editeng/hyphenzoneitem.hxx +++ b/include/editeng/hyphenzoneitem.hxx @@ -30,7 +30,7 @@ characters at the end of the line and start). */ -class EDITENG_DLLPUBLIC SvxHyphenZoneItem : public SfxPoolItem +class EDITENG_DLLPUBLIC SvxHyphenZoneItem final : public SfxPoolItem { bool bHyphen : 1; bool bPageEnd : 1; diff --git a/include/editeng/justifyitem.hxx b/include/editeng/justifyitem.hxx index c53a7b83b744..2d862ff7d35e 100644 --- a/include/editeng/justifyitem.hxx +++ b/include/editeng/justifyitem.hxx @@ -25,7 +25,7 @@ #include #include -class EDITENG_DLLPUBLIC SvxHorJustifyItem: public SfxEnumItem +class EDITENG_DLLPUBLIC SvxHorJustifyItem final : public SfxEnumItem { public: static SfxPoolItem* CreateDefault(); @@ -52,7 +52,7 @@ public: }; -class EDITENG_DLLPUBLIC SvxVerJustifyItem: public SfxEnumItem +class EDITENG_DLLPUBLIC SvxVerJustifyItem final : public SfxEnumItem { public: static SfxPoolItem* CreateDefault(); @@ -79,7 +79,7 @@ public: }; -class EDITENG_DLLPUBLIC SvxJustifyMethodItem: public SfxEnumItem +class EDITENG_DLLPUBLIC SvxJustifyMethodItem final : public SfxEnumItem { public: SvxJustifyMethodItem( diff --git a/include/editeng/keepitem.hxx b/include/editeng/keepitem.hxx index f30d91289a44..9e910e73e661 100644 --- a/include/editeng/keepitem.hxx +++ b/include/editeng/keepitem.hxx @@ -30,7 +30,7 @@ This item describes a logical variable "keep paragraphs together?". */ -class EDITENG_DLLPUBLIC SvxFormatKeepItem : public SfxBoolItem +class EDITENG_DLLPUBLIC SvxFormatKeepItem final : public SfxBoolItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/kernitem.hxx b/include/editeng/kernitem.hxx index ec2cd4638ee4..c5ea4f3b3f1c 100644 --- a/include/editeng/kernitem.hxx +++ b/include/editeng/kernitem.hxx @@ -32,7 +32,7 @@ This item describes the kerning. */ -class EDITENG_DLLPUBLIC SvxKerningItem : public SfxInt16Item +class EDITENG_DLLPUBLIC SvxKerningItem final : public SfxInt16Item { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/langitem.hxx b/include/editeng/langitem.hxx index 4894edd79465..19d50c2a0ce0 100644 --- a/include/editeng/langitem.hxx +++ b/include/editeng/langitem.hxx @@ -38,7 +38,7 @@ protected: {} }; -class EDITENG_DLLPUBLIC SvxLanguageItem : public SvxLanguageItem_Base +class EDITENG_DLLPUBLIC SvxLanguageItem final : public SvxLanguageItem_Base { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/lineitem.hxx b/include/editeng/lineitem.hxx index 4c3de568a9e3..ff06a26b58eb 100644 --- a/include/editeng/lineitem.hxx +++ b/include/editeng/lineitem.hxx @@ -36,7 +36,7 @@ namespace editeng { class SvxBorderLine; } -class EDITENG_DLLPUBLIC SvxLineItem : public SfxPoolItem +class EDITENG_DLLPUBLIC SvxLineItem final : public SfxPoolItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/lrspitem.hxx b/include/editeng/lrspitem.hxx index ba3fe2fbb867..32ad5907e2b8 100644 --- a/include/editeng/lrspitem.hxx +++ b/include/editeng/lrspitem.hxx @@ -46,7 +46,7 @@ #define LRSPACE_TXTLEFT_VERSION (sal_uInt16(0x0002)) #define LRSPACE_NEGATIVE_VERSION (sal_uInt16(0x0004)) -class EDITENG_DLLPUBLIC SvxLRSpaceItem : public SfxPoolItem +class EDITENG_DLLPUBLIC SvxLRSpaceItem final : public SfxPoolItem { long nTxtLeft; // We spend a sal_uInt16 long nLeftMargin; // nLeft or the negative first-line indent diff --git a/include/editeng/lspcitem.hxx b/include/editeng/lspcitem.hxx index 11a07ffaa1b4..202a4c848f0d 100644 --- a/include/editeng/lspcitem.hxx +++ b/include/editeng/lspcitem.hxx @@ -31,7 +31,7 @@ */ #define LINE_SPACE_DEFAULT_HEIGHT 200 -class EDITENG_DLLPUBLIC SvxLineSpacingItem : public SfxEnumItemInterface +class EDITENG_DLLPUBLIC SvxLineSpacingItem final : public SfxEnumItemInterface { short nInterLineSpace; sal_uInt16 nLineHeight; diff --git a/include/editeng/measfld.hxx b/include/editeng/measfld.hxx index 316a2c5f9fb3..10ed89b2fa7f 100644 --- a/include/editeng/measfld.hxx +++ b/include/editeng/measfld.hxx @@ -26,7 +26,7 @@ enum class SdrMeasureFieldKind { Value, Unit, Rotate90Blanks }; -class EDITENG_DLLPUBLIC SdrMeasureField: public SvxFieldData { +class EDITENG_DLLPUBLIC SdrMeasureField final : public SvxFieldData { SdrMeasureFieldKind eMeasureFieldKind; public: virtual sal_Int32 GetClassId() const override { return css::text::textfield::Type::MEASURE; } diff --git a/include/editeng/nhypitem.hxx b/include/editeng/nhypitem.hxx index 69f5477678d4..fdfba7a28534 100644 --- a/include/editeng/nhypitem.hxx +++ b/include/editeng/nhypitem.hxx @@ -23,7 +23,7 @@ #include // class SvxNoHyphenItem ------------------------------------------------- -class EDITENG_DLLPUBLIC SvxNoHyphenItem : public SfxBoolItem +class EDITENG_DLLPUBLIC SvxNoHyphenItem final : public SfxBoolItem { public: SvxNoHyphenItem( const sal_uInt16 nId ); diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx index 777f877f0ce5..699f82928069 100644 --- a/include/editeng/numitem.hxx +++ b/include/editeng/numitem.hxx @@ -291,7 +291,7 @@ public: void UnLinkGraphics(); }; -class EDITENG_DLLPUBLIC SvxNumBulletItem : public SfxPoolItem +class EDITENG_DLLPUBLIC SvxNumBulletItem final : public SfxPoolItem { std::unique_ptr pNumRule; public: diff --git a/include/editeng/opaqitem.hxx b/include/editeng/opaqitem.hxx index 268901ad956a..62918296bbae 100644 --- a/include/editeng/opaqitem.hxx +++ b/include/editeng/opaqitem.hxx @@ -30,7 +30,7 @@ This item describes a logical variable "Opaque yes or no." */ -class EDITENG_DLLPUBLIC SvxOpaqueItem : public SfxBoolItem +class EDITENG_DLLPUBLIC SvxOpaqueItem final : public SfxBoolItem { public: explicit SvxOpaqueItem( const sal_uInt16 nId , const bool bOpa = true ); diff --git a/include/editeng/optitems.hxx b/include/editeng/optitems.hxx index f85095962bb9..4403cdf0792b 100644 --- a/include/editeng/optitems.hxx +++ b/include/editeng/optitems.hxx @@ -25,7 +25,7 @@ // class SfxHyphenRegionItem --------------------------------------------- -class EDITENG_DLLPUBLIC SfxHyphenRegionItem: public SfxPoolItem +class EDITENG_DLLPUBLIC SfxHyphenRegionItem final : public SfxPoolItem { sal_uInt8 nMinLead; sal_uInt8 nMinTrail; diff --git a/include/editeng/orphitem.hxx b/include/editeng/orphitem.hxx index 71f962ea1abf..6cec0ca0b592 100644 --- a/include/editeng/orphitem.hxx +++ b/include/editeng/orphitem.hxx @@ -29,7 +29,7 @@ This item describes the number of lines for the orphans system. */ -class EDITENG_DLLPUBLIC SvxOrphansItem: public SfxByteItem +class EDITENG_DLLPUBLIC SvxOrphansItem final : public SfxByteItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/paravertalignitem.hxx b/include/editeng/paravertalignitem.hxx index 09cfb7124504..99460639108e 100644 --- a/include/editeng/paravertalignitem.hxx +++ b/include/editeng/paravertalignitem.hxx @@ -31,7 +31,7 @@ */ -class EDITENG_DLLPUBLIC SvxParaVertAlignItem : public SfxUInt16Item +class EDITENG_DLLPUBLIC SvxParaVertAlignItem final : public SfxUInt16Item { public: enum class Align { Automatic, Baseline, Top, Center, Bottom }; diff --git a/include/editeng/pbinitem.hxx b/include/editeng/pbinitem.hxx index d65bd53dbbcb..8bdeba98c281 100644 --- a/include/editeng/pbinitem.hxx +++ b/include/editeng/pbinitem.hxx @@ -33,7 +33,7 @@ This item describes selecting a paper tray of the printer. */ -class EDITENG_DLLPUBLIC SvxPaperBinItem : public SfxByteItem +class EDITENG_DLLPUBLIC SvxPaperBinItem final : public SfxByteItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/pgrditem.hxx b/include/editeng/pgrditem.hxx index a38ab1bbe807..d23967faba1c 100644 --- a/include/editeng/pgrditem.hxx +++ b/include/editeng/pgrditem.hxx @@ -30,7 +30,7 @@ Paragraph snap to grid */ -class EDITENG_DLLPUBLIC SvxParaGridItem : public SfxBoolItem +class EDITENG_DLLPUBLIC SvxParaGridItem final : public SfxBoolItem { public: SvxParaGridItem( const bool bSnapToGrid /*= true*/, diff --git a/include/editeng/pmdlitem.hxx b/include/editeng/pmdlitem.hxx index f6343e8342e5..cc3f8120e200 100644 --- a/include/editeng/pmdlitem.hxx +++ b/include/editeng/pmdlitem.hxx @@ -29,7 +29,7 @@ This item contains a name of a page template. */ -class EDITENG_DLLPUBLIC SvxPageModelItem : public SfxStringItem +class EDITENG_DLLPUBLIC SvxPageModelItem final : public SfxStringItem { private: bool bAuto; diff --git a/include/editeng/postitem.hxx b/include/editeng/postitem.hxx index 91e781dd199c..59fe71590098 100644 --- a/include/editeng/postitem.hxx +++ b/include/editeng/postitem.hxx @@ -30,7 +30,7 @@ This item describes the font setting (Italic) */ -class EDITENG_DLLPUBLIC SvxPostureItem : public SfxEnumItem +class EDITENG_DLLPUBLIC SvxPostureItem final : public SfxEnumItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/prntitem.hxx b/include/editeng/prntitem.hxx index a5d5e9c1fa5a..1ba68e1f5267 100644 --- a/include/editeng/prntitem.hxx +++ b/include/editeng/prntitem.hxx @@ -32,7 +32,7 @@ */ -class EDITENG_DLLPUBLIC SvxPrintItem : public SfxBoolItem +class EDITENG_DLLPUBLIC SvxPrintItem final : public SfxBoolItem { public: explicit SvxPrintItem( const sal_uInt16 nId , const bool bPrt = true ); diff --git a/include/editeng/protitem.hxx b/include/editeng/protitem.hxx index e7c7da1cf50b..9709c3f1e46c 100644 --- a/include/editeng/protitem.hxx +++ b/include/editeng/protitem.hxx @@ -30,7 +30,7 @@ This item describes, if content, size or position should be protected. */ -class EDITENG_DLLPUBLIC SvxProtectItem : public SfxPoolItem +class EDITENG_DLLPUBLIC SvxProtectItem final : public SfxPoolItem { bool bCntnt :1; // Content protected bool bSize :1; // Size protected diff --git a/include/editeng/rsiditem.hxx b/include/editeng/rsiditem.hxx index eefa63837edc..482338f158f3 100644 --- a/include/editeng/rsiditem.hxx +++ b/include/editeng/rsiditem.hxx @@ -16,7 +16,7 @@ // SvxRsidItem -class EDITENG_DLLPUBLIC SvxRsidItem : public SfxUInt32Item +class EDITENG_DLLPUBLIC SvxRsidItem final : public SfxUInt32Item { public: SvxRsidItem( sal_uInt32 nRsid, sal_uInt16 nId ) : SfxUInt32Item( nId, nRsid ) {} diff --git a/include/editeng/scriptspaceitem.hxx b/include/editeng/scriptspaceitem.hxx index c1b5f80ead83..a28a02e8204b 100644 --- a/include/editeng/scriptspaceitem.hxx +++ b/include/editeng/scriptspaceitem.hxx @@ -30,7 +30,7 @@ used for the user interface. */ -class EDITENG_DLLPUBLIC SvxScriptSpaceItem : public SfxBoolItem +class EDITENG_DLLPUBLIC SvxScriptSpaceItem final : public SfxBoolItem { public: SvxScriptSpaceItem( bool bOn /*= false*/, diff --git a/include/editeng/scripttypeitem.hxx b/include/editeng/scripttypeitem.hxx index efe6b7a4d192..7fb5a74a9056 100644 --- a/include/editeng/scripttypeitem.hxx +++ b/include/editeng/scripttypeitem.hxx @@ -23,7 +23,7 @@ #include #include -class EDITENG_DLLPUBLIC SvxScriptSetItem : public SfxSetItem +class EDITENG_DLLPUBLIC SvxScriptSetItem final : public SfxSetItem { public: SvxScriptSetItem( sal_uInt16 nSlotId, SfxItemPool& rPool ); diff --git a/include/editeng/shaditem.hxx b/include/editeng/shaditem.hxx index 187bb39aa04a..80f7adb2e4f8 100644 --- a/include/editeng/shaditem.hxx +++ b/include/editeng/shaditem.hxx @@ -35,7 +35,7 @@ */ enum class SvxShadowItemSide { TOP, BOTTOM, LEFT, RIGHT }; -class EDITENG_DLLPUBLIC SvxShadowItem : public SfxEnumItemInterface +class EDITENG_DLLPUBLIC SvxShadowItem final : public SfxEnumItemInterface { Color aShadowColor; sal_uInt16 nWidth; diff --git a/include/editeng/shdditem.hxx b/include/editeng/shdditem.hxx index a201549bfab4..5b494ca7b620 100644 --- a/include/editeng/shdditem.hxx +++ b/include/editeng/shdditem.hxx @@ -29,7 +29,7 @@ This item describes, whether and how it is shaded. */ -class EDITENG_DLLPUBLIC SvxShadowedItem : public SfxBoolItem +class EDITENG_DLLPUBLIC SvxShadowedItem final : public SfxBoolItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/spltitem.hxx b/include/editeng/spltitem.hxx index 7770fcfe41b7..37c5e4ab610d 100644 --- a/include/editeng/spltitem.hxx +++ b/include/editeng/spltitem.hxx @@ -29,7 +29,7 @@ This item describes a logical variable "split paragraph yes or no". */ -class EDITENG_DLLPUBLIC SvxFormatSplitItem : public SfxBoolItem +class EDITENG_DLLPUBLIC SvxFormatSplitItem final : public SfxBoolItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/tstpitem.hxx b/include/editeng/tstpitem.hxx index a6f292107504..48b5817dd7f5 100644 --- a/include/editeng/tstpitem.hxx +++ b/include/editeng/tstpitem.hxx @@ -89,7 +89,7 @@ typedef o3tl::sorted_vector SvxTabStopArr; This item describes a list of TabStops. */ -class EDITENG_DLLPUBLIC SvxTabStopItem : public SfxPoolItem +class EDITENG_DLLPUBLIC SvxTabStopItem final : public SfxPoolItem { SvxTabStopArr maTabStops; diff --git a/include/editeng/twolinesitem.hxx b/include/editeng/twolinesitem.hxx index 8ec80758bcec..34bc607aa22c 100644 --- a/include/editeng/twolinesitem.hxx +++ b/include/editeng/twolinesitem.hxx @@ -23,7 +23,7 @@ #include #include -class EDITENG_DLLPUBLIC SvxTwoLinesItem : public SfxPoolItem +class EDITENG_DLLPUBLIC SvxTwoLinesItem final : public SfxPoolItem { sal_Unicode cStartBracket, cEndBracket; bool bOn; diff --git a/include/editeng/udlnitem.hxx b/include/editeng/udlnitem.hxx index 386a28544c29..7240f0ef4c5f 100644 --- a/include/editeng/udlnitem.hxx +++ b/include/editeng/udlnitem.hxx @@ -69,7 +69,7 @@ public: /* Value container for underline font effects */ -class EDITENG_DLLPUBLIC SvxUnderlineItem : public SvxTextLineItem +class EDITENG_DLLPUBLIC SvxUnderlineItem final : public SvxTextLineItem { public: static SfxPoolItem* CreateDefault(); @@ -85,7 +85,7 @@ public: /* Value container for overline font effects */ -class EDITENG_DLLPUBLIC SvxOverlineItem : public SvxTextLineItem +class EDITENG_DLLPUBLIC SvxOverlineItem final : public SvxTextLineItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/ulspitem.hxx b/include/editeng/ulspitem.hxx index 2199d6f636bd..da4eacf7bc06 100644 --- a/include/editeng/ulspitem.hxx +++ b/include/editeng/ulspitem.hxx @@ -32,7 +32,7 @@ #define ULSPACE_16_VERSION (sal_uInt16(0x0001)) -class EDITENG_DLLPUBLIC SvxULSpaceItem : public SfxPoolItem +class EDITENG_DLLPUBLIC SvxULSpaceItem final : public SfxPoolItem { sal_uInt16 nUpper; // Upper space sal_uInt16 nLower; // Lower space diff --git a/include/editeng/unoedhlp.hxx b/include/editeng/unoedhlp.hxx index fdb4f910ac4a..459df9db01c7 100644 --- a/include/editeng/unoedhlp.hxx +++ b/include/editeng/unoedhlp.hxx @@ -49,7 +49,7 @@ public: sal_Int32 GetStartValue() const { return mnStart;} sal_Int32 GetEndValue() const { return mnEnd;} }; -class SvxEditSourceHintEndPara :public SvxEditSourceHint +class SvxEditSourceHintEndPara final : public SvxEditSourceHint { public: SvxEditSourceHintEndPara() : SvxEditSourceHint(SfxHintId::EditSourceSelectionChanged) {} diff --git a/include/editeng/unoedprx.hxx b/include/editeng/unoedprx.hxx index d3e7a1f3461b..132cbbf96c66 100644 --- a/include/editeng/unoedprx.hxx +++ b/include/editeng/unoedprx.hxx @@ -27,7 +27,7 @@ #include #include -class SvxAccessibleTextAdapter : public SvxTextForwarder +class SvxAccessibleTextAdapter final : public SvxTextForwarder { public: SvxAccessibleTextAdapter(); @@ -107,7 +107,7 @@ private: SvxTextForwarder* mpTextForwarder; }; -class SvxAccessibleTextEditViewAdapter : public SvxEditViewForwarder +class SvxAccessibleTextEditViewAdapter final : public SvxEditViewForwarder { public: @@ -133,7 +133,7 @@ private: SvxAccessibleTextAdapter* mpTextForwarder; }; -class EDITENG_DLLPUBLIC SvxEditSourceAdapter : public SvxEditSource +class EDITENG_DLLPUBLIC SvxEditSourceAdapter final : public SvxEditSource { public: SvxEditSourceAdapter(); diff --git a/include/editeng/unofored.hxx b/include/editeng/unofored.hxx index 7f5f6ced5e69..8222a3043bdb 100644 --- a/include/editeng/unofored.hxx +++ b/include/editeng/unofored.hxx @@ -26,7 +26,7 @@ // SvxEditEngineForwarder - SvxTextForwarder for EditEngine -class EDITENG_DLLPUBLIC SvxEditEngineForwarder : public SvxTextForwarder +class EDITENG_DLLPUBLIC SvxEditEngineForwarder final : public SvxTextForwarder { private: EditEngine& rEditEngine; diff --git a/include/editeng/unoforou.hxx b/include/editeng/unoforou.hxx index f50d48c81a08..f2d28a53e405 100644 --- a/include/editeng/unoforou.hxx +++ b/include/editeng/unoforou.hxx @@ -29,7 +29,7 @@ class Outliner; // SvxOutlinerForwarder - SvxTextForwarder for Outliner -class EDITENG_DLLPUBLIC SvxOutlinerForwarder : public SvxTextForwarder +class EDITENG_DLLPUBLIC SvxOutlinerForwarder final : public SvxTextForwarder { private: Outliner& rOutliner; diff --git a/include/editeng/unonrule.hxx b/include/editeng/unonrule.hxx index fa53867bce7b..22d3e35a785e 100644 --- a/include/editeng/unonrule.hxx +++ b/include/editeng/unonrule.hxx @@ -38,7 +38,7 @@ EDITENG_DLLPUBLIC css::uno::Reference< css::container::XIndexReplace > SvxCreate const SvxNumRule& SvxGetNumRule( css::uno::Reference< css::container::XIndexReplace > const & xRule ); EDITENG_DLLPUBLIC css::uno::Reference< css::ucb::XAnyCompare > SvxCreateNumRuleCompare() throw(); -class SvxUnoNumberingRules : public ::cppu::WeakAggImplHelper5< css::container::XIndexReplace, css::ucb::XAnyCompare, +class SvxUnoNumberingRules final : public ::cppu::WeakAggImplHelper5< css::container::XIndexReplace, css::ucb::XAnyCompare, css::lang::XUnoTunnel, css::util::XCloneable, css::lang::XServiceInfo > { private: diff --git a/include/editeng/unopracc.hxx b/include/editeng/unopracc.hxx index 1bbffb04e5b1..5f94956e081a 100644 --- a/include/editeng/unopracc.hxx +++ b/include/editeng/unopracc.hxx @@ -31,7 +31,7 @@ class SvxEditSource; XMultiPropertySet interfaces. Just set the selection to the required text range and return a reference to a XPropertySet. */ -class SvxAccessibleTextPropertySet : public SvxUnoTextRangeBase, +class SvxAccessibleTextPropertySet final : public SvxUnoTextRangeBase, public css::lang::XTypeProvider, public ::cppu::OWeakObject { diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx index 5d65d6761ab6..fef69993d1ab 100644 --- a/include/editeng/unotext.hxx +++ b/include/editeng/unotext.hxx @@ -158,7 +158,7 @@ EDITENG_DLLPUBLIC void CheckSelection( struct ESelection& rSel, SvxTextForwarder // nothing otherwise -class SvxDummyTextSource : public SvxEditSource, public SvxTextForwarder +class SvxDummyTextSource final : public SvxEditSource, public SvxTextForwarder { public: @@ -375,7 +375,7 @@ public: class SvxUnoTextBase; -class EDITENG_DLLPUBLIC SvxUnoTextRange : public SvxUnoTextRangeBase, +class EDITENG_DLLPUBLIC SvxUnoTextRange final : public SvxUnoTextRangeBase, public css::lang::XTypeProvider, public ::cppu::OWeakAggObject { @@ -504,7 +504,7 @@ public: }; -class SvxUnoTextContent : public SvxUnoTextRangeBase, +class SvxUnoTextContent final : public SvxUnoTextRangeBase, public css::text::XTextContent, public css::container::XEnumerationAccess, public css::lang::XTypeProvider, diff --git a/include/editeng/unoviwou.hxx b/include/editeng/unoviwou.hxx index 39ed56ff7561..674bec8cf003 100644 --- a/include/editeng/unoviwou.hxx +++ b/include/editeng/unoviwou.hxx @@ -26,7 +26,7 @@ class OutlinerView; /// Specialization for Draw/Impress -class EDITENG_DLLPUBLIC SvxDrawOutlinerViewForwarder : public SvxEditViewForwarder +class EDITENG_DLLPUBLIC SvxDrawOutlinerViewForwarder final : public SvxEditViewForwarder { private: OutlinerView& mrOutlinerView; diff --git a/include/editeng/wghtitem.hxx b/include/editeng/wghtitem.hxx index a718a3bfd387..4a7161294cc9 100644 --- a/include/editeng/wghtitem.hxx +++ b/include/editeng/wghtitem.hxx @@ -30,7 +30,7 @@ This item describes the font weight. */ -class EDITENG_DLLPUBLIC SvxWeightItem : public SfxEnumItem +class EDITENG_DLLPUBLIC SvxWeightItem final : public SfxEnumItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/widwitem.hxx b/include/editeng/widwitem.hxx index c1274a20a4e0..0eb8f76f6231 100644 --- a/include/editeng/widwitem.hxx +++ b/include/editeng/widwitem.hxx @@ -29,7 +29,7 @@ This item describes the number of lines for the widows control. */ -class EDITENG_DLLPUBLIC SvxWidowsItem: public SfxByteItem +class EDITENG_DLLPUBLIC SvxWidowsItem final : public SfxByteItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/writingmodeitem.hxx b/include/editeng/writingmodeitem.hxx index e7e670c4543e..cab2cea86ea4 100644 --- a/include/editeng/writingmodeitem.hxx +++ b/include/editeng/writingmodeitem.hxx @@ -25,7 +25,7 @@ // class SvxWritingModeItem ---------------------------------------------- -class EDITENG_DLLPUBLIC SvxWritingModeItem : public SfxUInt16Item +class EDITENG_DLLPUBLIC SvxWritingModeItem final : public SfxUInt16Item { public: SvxWritingModeItem( css::text::WritingMode eValue /*= css::text::WritingMode_LR_TB*/, diff --git a/include/editeng/wrlmitem.hxx b/include/editeng/wrlmitem.hxx index 2ac72a1a5351..159f9d7b2607 100644 --- a/include/editeng/wrlmitem.hxx +++ b/include/editeng/wrlmitem.hxx @@ -30,7 +30,7 @@ to word boundaries. */ -class EDITENG_DLLPUBLIC SvxWordLineModeItem : public SfxBoolItem +class EDITENG_DLLPUBLIC SvxWordLineModeItem final : public SfxBoolItem { public: static SfxPoolItem* CreateDefault(); diff --git a/include/editeng/xmlcnitm.hxx b/include/editeng/xmlcnitm.hxx index 61d883e3d497..f5c20b3aa912 100644 --- a/include/editeng/xmlcnitm.hxx +++ b/include/editeng/xmlcnitm.hxx @@ -27,7 +27,7 @@ class SvXMLAttrContainerData; -class EDITENG_DLLPUBLIC SvXMLAttrContainerItem: public SfxPoolItem +class EDITENG_DLLPUBLIC SvXMLAttrContainerItem final : public SfxPoolItem { std::unique_ptr pImpl; -- cgit