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 | |
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')
-rw-r--r-- | sw/inc/OnlineAccessibilityCheck.hxx | 2 | ||||
-rw-r--r-- | sw/inc/formatcontentcontrol.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/inc/GraphicSizeCheck.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/inc/unocontentcontrol.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/inc/HeaderFooterWin.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/inc/PageBreakWin.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/inc/pagenumberdlg.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/inc/workctrl.hxx | 2 |
8 files changed, 9 insertions, 9 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; diff --git a/sw/source/core/inc/GraphicSizeCheck.hxx b/sw/source/core/inc/GraphicSizeCheck.hxx index a70b1c756d66..a58a7f432476 100644 --- a/sw/source/core/inc/GraphicSizeCheck.hxx +++ b/sw/source/core/inc/GraphicSizeCheck.hxx @@ -70,7 +70,7 @@ public: }; /** The UI part of the GraphicSizeViolation used by GenericCheckDialog */ -class GraphicSizeCheckGUIEntry : public svx::CheckData +class GraphicSizeCheckGUIEntry final : public svx::CheckData { private: SwDoc* m_pDocument; @@ -98,7 +98,7 @@ public: * The UI part presenting the graphic size check results, which is * used by GenericCheckDialog */ -class GraphicSizeCheckGUIResult : public svx::CheckDataCollection +class GraphicSizeCheckGUIResult final : public svx::CheckDataCollection { public: GraphicSizeCheckGUIResult(SwDoc* pDocument); diff --git a/sw/source/core/inc/unocontentcontrol.hxx b/sw/source/core/inc/unocontentcontrol.hxx index 6f3d903d9d1b..b037091b6bfd 100644 --- a/sw/source/core/inc/unocontentcontrol.hxx +++ b/sw/source/core/inc/unocontentcontrol.hxx @@ -46,7 +46,7 @@ class SwContentControl; * UNO API wrapper around an SwContentControl, exposed as the com.sun.star.text.ContentControl * service. */ -class SwXContentControl +class SwXContentControl final : public cppu::WeakImplHelper<css::lang::XServiceInfo, css::container::XEnumerationAccess, css::text::XTextContent, css::text::XText, css::beans::XPropertySet> diff --git a/sw/source/uibase/inc/HeaderFooterWin.hxx b/sw/source/uibase/inc/HeaderFooterWin.hxx index 723056eded67..6931e00f82d0 100644 --- a/sw/source/uibase/inc/HeaderFooterWin.hxx +++ b/sw/source/uibase/inc/HeaderFooterWin.hxx @@ -34,7 +34,7 @@ class SwHeaderFooterWin; This control is showing the header / footer style name and provides a few useful actions to the user. */ -class SwHeaderFooterDashedLine : public SwDashedLine, public ISwFrameControl +class SwHeaderFooterDashedLine final : public SwDashedLine, public ISwFrameControl { private: VclPtr<SwHeaderFooterWin> m_pWin; diff --git a/sw/source/uibase/inc/PageBreakWin.hxx b/sw/source/uibase/inc/PageBreakWin.hxx index ea59e8273be6..ee494f78ba04 100644 --- a/sw/source/uibase/inc/PageBreakWin.hxx +++ b/sw/source/uibase/inc/PageBreakWin.hxx @@ -25,7 +25,7 @@ class SwPageBreakWin; This control shows a line indicating a manual page break and a button providing a few actions on that page break. */ -class SwBreakDashedLine : public SwDashedLine, public ISwFrameControl +class SwBreakDashedLine final : public SwDashedLine, public ISwFrameControl { private: VclPtr<SwPageBreakWin> m_pWin; diff --git a/sw/source/uibase/inc/pagenumberdlg.hxx b/sw/source/uibase/inc/pagenumberdlg.hxx index 23a3c1423462..6e768a3153a2 100644 --- a/sw/source/uibase/inc/pagenumberdlg.hxx +++ b/sw/source/uibase/inc/pagenumberdlg.hxx @@ -24,7 +24,7 @@ class SwWrtShell; /// Page number wizard for easy header/footer page number insertion -class SwPageNumberDlg : public SfxDialogController +class SwPageNumberDlg final : public SfxDialogController { std::unique_ptr<weld::Button> m_xOk; std::unique_ptr<weld::Button> m_xCancel; diff --git a/sw/source/uibase/inc/workctrl.hxx b/sw/source/uibase/inc/workctrl.hxx index d56b752331ae..9c6680d8969d 100644 --- a/sw/source/uibase/inc/workctrl.hxx +++ b/sw/source/uibase/inc/workctrl.hxx @@ -154,7 +154,7 @@ public: }; typedef cppu::ImplInheritanceHelper< ::svt::ToolboxController, lang::XServiceInfo> NavElementToolBoxControl_Base; -class NavElementToolBoxControl : public NavElementToolBoxControl_Base +class NavElementToolBoxControl final : public NavElementToolBoxControl_Base { public: explicit NavElementToolBoxControl( |