summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/sidebar/PanelFactory.cxx5
-rw-r--r--sd/source/ui/sidebar/PanelFactory.hxx12
2 files changed, 4 insertions, 13 deletions
diff --git a/sd/source/ui/sidebar/PanelFactory.cxx b/sd/source/ui/sidebar/PanelFactory.cxx
index 04df3580adb6..c7ca8c25c4c8 100644
--- a/sd/source/ui/sidebar/PanelFactory.cxx
+++ b/sd/source/ui/sidebar/PanelFactory.cxx
@@ -46,7 +46,6 @@ namespace sd::sidebar {
//----- PanelFactory --------------------------------------------------------
PanelFactory::PanelFactory()
- : PanelFactoryInterfaceBase(m_aMutex)
{
}
@@ -54,10 +53,6 @@ PanelFactory::~PanelFactory()
{
}
-void SAL_CALL PanelFactory::disposing()
-{
-}
-
// XUIElementFactory
Reference<ui::XUIElement> SAL_CALL PanelFactory::createUIElement (
diff --git a/sd/source/ui/sidebar/PanelFactory.hxx b/sd/source/ui/sidebar/PanelFactory.hxx
index 590a7349cc00..77fc17dbcd35 100644
--- a/sd/source/ui/sidebar/PanelFactory.hxx
+++ b/sd/source/ui/sidebar/PanelFactory.hxx
@@ -18,20 +18,18 @@
*/
#pragma once
-#include <cppuhelper/compbase.hxx>
-#include <cppuhelper/basemutex.hxx>
+#include <comphelper/compbase.hxx>
#include <com/sun/star/ui/XUIElementFactory.hpp>
namespace sd::sidebar {
-typedef ::cppu::WeakComponentImplHelper <
+typedef comphelper::WeakComponentImplHelper <
css::ui::XUIElementFactory
> PanelFactoryInterfaceBase;
-class PanelFactory
- : private ::cppu::BaseMutex,
- public PanelFactoryInterfaceBase
+class PanelFactory final
+ : public PanelFactoryInterfaceBase
{
public:
explicit PanelFactory ();
@@ -39,8 +37,6 @@ public:
PanelFactory(const PanelFactory&) = delete;
PanelFactory& operator=(const PanelFactory&) = delete;
- virtual void SAL_CALL disposing() override;
-
// XUIElementFactory
css::uno::Reference<css::ui::XUIElement> SAL_CALL createUIElement (