diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-04-19 12:28:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-04-19 16:07:22 +0200 |
commit | cd39a53cc745ac1b8f25f59df7328909c3da3132 (patch) | |
tree | 9a49c819f193ab6c5db48e146396448eb790a5a0 /sw/inc | |
parent | 8032624177c8ea8a10d0687b410ae9433fdf1481 (diff) |
loplugin:finalclasses in sw
Change-Id: I0b68920bb82bb9c096f4ee2e3532e4588302dc8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150605
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/OnlineAccessibilityCheck.hxx | 2 | ||||
-rw-r--r-- | sw/inc/formatcontentcontrol.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
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<SwXContentControl> m_wXContentControl; |