summaryrefslogtreecommitdiff
path: root/include/sfx2/sidebar
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-24 11:03:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-24 13:41:17 +0200
commitb4c890cb65745d05f92e451bb675fc0b2c5e31dc (patch)
treee8e772bb3e7f124f6602c43289be117df662d7ea /include/sfx2/sidebar
parent49b338b76020682328acbb76cacf82b7699d8891 (diff)
loplugin:finalclasses in sfx2..svl
Change-Id: I71b78135b3d0259657438c4401340bb35ab5c6e0 Reviewed-on: https://gerrit.libreoffice.org/43742 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/sidebar')
-rw-r--r--include/sfx2/sidebar/SidebarPanelBase.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/sfx2/sidebar/SidebarPanelBase.hxx b/include/sfx2/sidebar/SidebarPanelBase.hxx
index e6da3299a775..2494be1e0bf5 100644
--- a/include/sfx2/sidebar/SidebarPanelBase.hxx
+++ b/include/sfx2/sidebar/SidebarPanelBase.hxx
@@ -48,7 +48,7 @@ typedef cppu::WeakComponentImplHelper<css::ui::XContextChangeEventListener,
/** Base class for sidebar panels that provides some convenience
functionality.
*/
-class SFX2_DLLPUBLIC SidebarPanelBase : private ::cppu::BaseMutex,
+class SFX2_DLLPUBLIC SidebarPanelBase final : private ::cppu::BaseMutex,
public SidebarPanelBaseInterfaceBase
{
public:
@@ -81,9 +81,7 @@ public:
// XUpdateModel
virtual void SAL_CALL updateModel(const css::uno::Reference<css::frame::XModel>& xModel) override;
-protected:
- css::uno::Reference<css::frame::XFrame> mxFrame;
-
+private:
SidebarPanelBase(const OUString& rsResourceURL, const css::uno::Reference<css::frame::XFrame>& rxFrame,
vcl::Window* pWindow, const css::ui::LayoutSize& rLayoutSize);
virtual ~SidebarPanelBase() override;
@@ -92,7 +90,7 @@ protected:
virtual void SAL_CALL disposing() override;
-private:
+ css::uno::Reference<css::frame::XFrame> mxFrame;
VclPtr<vcl::Window> mpControl;
const OUString msResourceURL;
const css::ui::LayoutSize maLayoutSize;