summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-12-25 21:13:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-12-27 08:00:27 +0100
commitdfed2ae7f25fe30441205efc704fe39532e93798 (patch)
tree099ab9dee7a66594c5a162452d38b175718d800b /sc
parent60625112f53014b296fe3f26198408f9795ad935 (diff)
use comphelper::WeakComponentImplHelper in ScPanelFactory
Change-Id: Ib772bffd73f6ea1984781701c5827958e7e35488 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127531 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/sidebar/ScPanelFactory.cxx1
-rw-r--r--sc/source/ui/sidebar/ScPanelFactory.hxx9
2 files changed, 3 insertions, 7 deletions
diff --git a/sc/source/ui/sidebar/ScPanelFactory.cxx b/sc/source/ui/sidebar/ScPanelFactory.cxx
index 67c949475023..bbcff315c289 100644
--- a/sc/source/ui/sidebar/ScPanelFactory.cxx
+++ b/sc/source/ui/sidebar/ScPanelFactory.cxx
@@ -38,7 +38,6 @@ using namespace css::uno;
namespace sc::sidebar {
ScPanelFactory::ScPanelFactory()
- : PanelFactoryInterfaceBase(m_aMutex)
{
}
diff --git a/sc/source/ui/sidebar/ScPanelFactory.hxx b/sc/source/ui/sidebar/ScPanelFactory.hxx
index 2e6c7900ec3e..b2901e2abe6f 100644
--- a/sc/source/ui/sidebar/ScPanelFactory.hxx
+++ b/sc/source/ui/sidebar/ScPanelFactory.hxx
@@ -18,20 +18,17 @@
*/
#pragma once
-#include <cppuhelper/compbase.hxx>
-#include <cppuhelper/basemutex.hxx>
+#include <comphelper/compbase.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/ui/XUIElementFactory.hpp>
namespace sc::sidebar {
-typedef ::cppu::WeakComponentImplHelper <
+typedef comphelper::WeakComponentImplHelper <
css::ui::XUIElementFactory, css::lang::XServiceInfo
> PanelFactoryInterfaceBase;
-class ScPanelFactory
- : private ::cppu::BaseMutex,
- public PanelFactoryInterfaceBase
+class ScPanelFactory final : public PanelFactoryInterfaceBase
{
public:
// noncopyable