sc/source/ui/sidebar/ScPanelFactory.cxx |    1 -
 sc/source/ui/sidebar/ScPanelFactory.hxx |    9 +++------
 2 files changed, 3 insertions(+), 7 deletions(-)

New commits:
commit dfed2ae7f25fe30441205efc704fe39532e93798
Author:     Noel Grandin <noelgran...@gmail.com>
AuthorDate: Sat Dec 25 21:13:02 2021 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Mon Dec 27 08:00:27 2021 +0100

    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.gran...@collabora.co.uk>

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

Reply via email to