From fa79e8df02a082cd4967bf7a1c61aa925dc7b101 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 29 Oct 2019 16:32:26 +0200 Subject: loplugin:finalclasses svx Change-Id: If55e51b8627083ba3ece2b3270adb47668b25e9d Reviewed-on: https://gerrit.libreoffice.org/81705 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svx/sidebar/AreaTransparencyGradientPopup.hxx | 2 +- include/svx/sidebar/LineWidthPopup.hxx | 2 +- include/svx/sidebar/SelectionChangeHandler.hxx | 2 +- include/svx/sidebar/SidebarDialControl.hxx | 4 ++-- include/svx/sidebar/ValueSetWithTextControl.hxx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'include/svx/sidebar') diff --git a/include/svx/sidebar/AreaTransparencyGradientPopup.hxx b/include/svx/sidebar/AreaTransparencyGradientPopup.hxx index 4004a0041267..cbdc5e9a114e 100644 --- a/include/svx/sidebar/AreaTransparencyGradientPopup.hxx +++ b/include/svx/sidebar/AreaTransparencyGradientPopup.hxx @@ -32,7 +32,7 @@ namespace svx { namespace sidebar { class AreaTransparencyGradientControl; class AreaPropertyPanelBase; -class AreaTransparencyGradientPopup : public FloatingWindow +class AreaTransparencyGradientPopup final : public FloatingWindow { private: AreaPropertyPanelBase& mrAreaPropertyPanel; diff --git a/include/svx/sidebar/LineWidthPopup.hxx b/include/svx/sidebar/LineWidthPopup.hxx index a5595abdd23a..fd36e5ea92a6 100644 --- a/include/svx/sidebar/LineWidthPopup.hxx +++ b/include/svx/sidebar/LineWidthPopup.hxx @@ -32,7 +32,7 @@ namespace svx { namespace sidebar { class LinePropertyPanelBase; class LineWidthValueSet; -class LineWidthPopup : public FloatingWindow +class LineWidthPopup final : public FloatingWindow { public: LineWidthPopup(LinePropertyPanelBase& rParent); diff --git a/include/svx/sidebar/SelectionChangeHandler.hxx b/include/svx/sidebar/SelectionChangeHandler.hxx index 778a742e6c13..0a6b8f637b94 100644 --- a/include/svx/sidebar/SelectionChangeHandler.hxx +++ b/include/svx/sidebar/SelectionChangeHandler.hxx @@ -38,7 +38,7 @@ typedef cppu::WeakComponentImplHelper< css::view::XSelectionChangeListener > SelectionChangeHandlerInterfaceBase; -class SVX_DLLPUBLIC SelectionChangeHandler +class SVX_DLLPUBLIC SelectionChangeHandler final : private ::cppu::BaseMutex, public SelectionChangeHandlerInterfaceBase { diff --git a/include/svx/sidebar/SidebarDialControl.hxx b/include/svx/sidebar/SidebarDialControl.hxx index 0b2d8bce1b7d..4362076236ed 100644 --- a/include/svx/sidebar/SidebarDialControl.hxx +++ b/include/svx/sidebar/SidebarDialControl.hxx @@ -25,7 +25,7 @@ namespace svx { namespace sidebar { /** Provide some improvements over the standard DialControl. */ -class SVX_DLLPUBLIC SidebarDialControl : public svx::DialControl +class SVX_DLLPUBLIC SidebarDialControl final : public svx::DialControl { public: SidebarDialControl (vcl::Window* pParent, WinBits nBits); @@ -33,7 +33,7 @@ public: virtual Size GetOptimalSize() const override; virtual void MouseButtonDown (const MouseEvent& rMEvt) override; -protected: +private: virtual void HandleMouseEvent (const Point& rPos, bool bInitial) override; }; diff --git a/include/svx/sidebar/ValueSetWithTextControl.hxx b/include/svx/sidebar/ValueSetWithTextControl.hxx index 834aa75ab83c..a7c6641f519b 100644 --- a/include/svx/sidebar/ValueSetWithTextControl.hxx +++ b/include/svx/sidebar/ValueSetWithTextControl.hxx @@ -33,7 +33,7 @@ namespace svx { namespace sidebar { Especially, used for sidebar related controls. */ -class SVX_DLLPUBLIC ValueSetWithTextControl : public ValueSet +class SVX_DLLPUBLIC ValueSetWithTextControl final : public ValueSet { public: ValueSetWithTextControl(Window* pParent, WinBits nBits); -- cgit