summaryrefslogtreecommitdiff
path: root/sd/source/ui/framework
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-12-28 17:12:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-12-29 07:14:40 +0100
commit820ac2f6a932855ecd79f6050ab4a9064237d89c (patch)
tree0af8821373c71c196e4e5be911e54038cbb68633 /sd/source/ui/framework
parent388369ad8fad3684da03d23c850e9f4e1b7bec1d (diff)
use comphelper::WeakComponentImplHelper in ModuleController
Change-Id: I58e716a67509560b405c6e613e0700f46a59462b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127648 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/framework')
-rw-r--r--sd/source/ui/framework/module/ModuleController.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/framework/module/ModuleController.cxx b/sd/source/ui/framework/module/ModuleController.cxx
index 7da417795aeb..855a4bdd3efe 100644
--- a/sd/source/ui/framework/module/ModuleController.cxx
+++ b/sd/source/ui/framework/module/ModuleController.cxx
@@ -24,6 +24,7 @@
#include <tools/ConfigurationAccess.hxx>
#include <comphelper/processfactory.hxx>
+#include <cppuhelper/weakref.hxx>
#include <unordered_map>
#include <tools/diagnose_ex.h>
@@ -65,8 +66,7 @@ Reference<XModuleController> ModuleController::CreateInstance (
}
ModuleController::ModuleController (const Reference<XComponentContext>& rxContext)
- : ModuleControllerInterfaceBase(m_aMutex),
- mpResourceToFactoryMap(new ResourceToFactoryMap()),
+ : mpResourceToFactoryMap(new ResourceToFactoryMap()),
mpLoadedFactories(new LoadedFactoryContainer())
{
/** Load a list of URL to service mappings from the
@@ -103,7 +103,7 @@ ModuleController::~ModuleController() noexcept
{
}
-void SAL_CALL ModuleController::disposing()
+void ModuleController::disposing(std::unique_lock<std::mutex>&)
{
// Break the cyclic reference back to DrawController object
mpLoadedFactories.reset();