diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-12-29 08:45:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-30 06:46:36 +0100 |
commit | d26d13f49ca3ee1972588e24246bf8d1abebdc42 (patch) | |
tree | c40044121984576ca6e573eee63cfc2941ee18f1 /sfx2/source/sidebar | |
parent | d951a054445ad3741d678f422a5b605feae06a6b (diff) |
use comphelper::WeakComponentImplHelper in SidebarPanelBase
Change-Id: I527098109916113e4dc25a3ae30cfe6325aa02d1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127699
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/sidebar')
-rw-r--r-- | sfx2/source/sidebar/SidebarPanelBase.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/sidebar/SidebarPanelBase.cxx b/sfx2/source/sidebar/SidebarPanelBase.cxx index fd46b96b5c2a..f0829599e6db 100644 --- a/sfx2/source/sidebar/SidebarPanelBase.cxx +++ b/sfx2/source/sidebar/SidebarPanelBase.cxx @@ -52,8 +52,7 @@ SidebarPanelBase::SidebarPanelBase ( const css::uno::Reference<css::frame::XFrame>& rxFrame, std::unique_ptr<PanelLayout> xControl, const css::ui::LayoutSize& rLayoutSize) - : SidebarPanelBaseInterfaceBase(m_aMutex), - mxFrame(rxFrame), + : mxFrame(rxFrame), mxControl(std::move(xControl)), msResourceURL(rsResourceURL), maLayoutSize(rLayoutSize) @@ -78,7 +77,7 @@ void SidebarPanelBase::SetParentPanel(sfx2::sidebar::Panel* pPanel) mxControl->SetPanel(pPanel); } -void SAL_CALL SidebarPanelBase::disposing() +void SidebarPanelBase::disposing(std::unique_lock<std::mutex>&) { SolarMutexGuard aGuard; |