summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-04-19 12:28:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-04-19 16:07:22 +0200
commitcd39a53cc745ac1b8f25f59df7328909c3da3132 (patch)
tree9a49c819f193ab6c5db48e146396448eb790a5a0 /sw/source/uibase
parent8032624177c8ea8a10d0687b410ae9433fdf1481 (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/source/uibase')
-rw-r--r--sw/source/uibase/inc/HeaderFooterWin.hxx2
-rw-r--r--sw/source/uibase/inc/PageBreakWin.hxx2
-rw-r--r--sw/source/uibase/inc/pagenumberdlg.hxx2
-rw-r--r--sw/source/uibase/inc/workctrl.hxx2
4 files changed, 4 insertions, 4 deletions
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(