From cd39a53cc745ac1b8f25f59df7328909c3da3132 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 19 Apr 2023 12:28:16 +0200 Subject: loplugin:finalclasses in sw Change-Id: I0b68920bb82bb9c096f4ee2e3532e4588302dc8b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150605 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/inc/OnlineAccessibilityCheck.hxx | 2 +- sw/inc/formatcontentcontrol.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/inc') diff --git a/sw/inc/OnlineAccessibilityCheck.hxx b/sw/inc/OnlineAccessibilityCheck.hxx index 0d9c65902905..fc158e28db7e 100644 --- a/sw/inc/OnlineAccessibilityCheck.hxx +++ b/sw/inc/OnlineAccessibilityCheck.hxx @@ -24,7 +24,7 @@ namespace sw { /// Contains the node and tracks if the node gets deleted. /// Note: the node needs to extend sw::BroadcastingModify. -class WeakNodeContainer : public SvtListener +class WeakNodeContainer final : public SvtListener { private: SwNode* m_pNode; diff --git a/sw/inc/formatcontentcontrol.hxx b/sw/inc/formatcontentcontrol.hxx index c27253a5aab8..190d0bd540fe 100644 --- a/sw/inc/formatcontentcontrol.hxx +++ b/sw/inc/formatcontentcontrol.hxx @@ -107,7 +107,7 @@ public: }; /// Stores the properties of a content control. -class SW_DLLPUBLIC SwContentControl : public sw::BroadcastingModify +class SW_DLLPUBLIC SwContentControl final : public sw::BroadcastingModify { unotools::WeakReference m_wXContentControl; -- cgit