svx/source/sidebar/PanelFactory.cxx |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

New commits:
commit c55d1affc6299feed36145a01279b641bb60ac57
Author:     Noel Grandin <noelgran...@gmail.com>
AuthorDate: Fri Dec 24 13:04:32 2021 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Fri Dec 24 17:57:10 2021 +0100

    use comphelper::WeakComponentImplHelper in PanelFactory
    
    Change-Id: I936fd58fdb626d6707cf672f188cd8570269bc44
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127412
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/svx/source/sidebar/PanelFactory.cxx 
b/svx/source/sidebar/PanelFactory.cxx
index b839100fbcf6..f55575d1ab97 100644
--- a/svx/source/sidebar/PanelFactory.cxx
+++ b/svx/source/sidebar/PanelFactory.cxx
@@ -41,8 +41,7 @@
 #include <sfx2/templdlg.hxx>
 #include <vcl/weldutils.hxx>
 #include <comphelper/namedvaluecollection.hxx>
-#include <cppuhelper/basemutex.hxx>
-#include <cppuhelper/compbase.hxx>
+#include <comphelper/compbase.hxx>
 #include <cppuhelper/supportsservice.hxx>
 #include <com/sun/star/lang/XServiceInfo.hpp>
 #include <com/sun/star/ui/XSidebar.hpp>
@@ -61,12 +60,11 @@ constexpr OUStringLiteral IMPLEMENTATION_NAME = 
u"org.apache.openoffice.comp.svx
 constexpr OUStringLiteral SERVICE_NAME = u"com.sun.star.ui.UIElementFactory";
 */
 
-typedef ::cppu::WeakComponentImplHelper< css::ui::XUIElementFactory, 
css::lang::XServiceInfo >
+typedef comphelper::WeakComponentImplHelper< css::ui::XUIElementFactory, 
css::lang::XServiceInfo >
     PanelFactoryInterfaceBase;
 
 class PanelFactory
-    : private ::cppu::BaseMutex,
-      public PanelFactoryInterfaceBase
+    : public PanelFactoryInterfaceBase
 {
 public:
     PanelFactory();
@@ -89,7 +87,6 @@ public:
 };
 
 PanelFactory::PanelFactory()
-    : PanelFactoryInterfaceBase(m_aMutex)
 {
 }
 

Reply via email to