summaryrefslogtreecommitdiffstats
path: root/cppuhelper/source/typemanager.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-05-07 12:20:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-05-09 18:15:20 +0200
commit94aba9289af06b3a18f143d1253467f32c4af2cd (patch)
treedf545fbfe2069407e9d25d1384b1004316e429f3 /cppuhelper/source/typemanager.hxx
parentmove a toolkit header inside the module (diff)
downloadcore-94aba9289af06b3a18f143d1253467f32c4af2cd.tar.gz
core-94aba9289af06b3a18f143d1253467f32c4af2cd.zip
use WeakComponentImplHelper2 in TypeManager
Change-Id: I2358006a069ea4e8cdeeeafb8384ad8d47fba50a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151579 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppuhelper/source/typemanager.hxx')
-rw-r--r--cppuhelper/source/typemanager.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/cppuhelper/source/typemanager.hxx b/cppuhelper/source/typemanager.hxx
index 24fe0ef12166..ab1dc4fdbe71 100644
--- a/cppuhelper/source/typemanager.hxx
+++ b/cppuhelper/source/typemanager.hxx
@@ -20,8 +20,7 @@
#include <com/sun/star/reflection/XTypeDescriptionEnumerationAccess.hpp>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
-#include <cppuhelper/basemutex.hxx>
-#include <cppuhelper/compbase.hxx>
+#include <compbase2.hxx>
#include <rtl/ref.hxx>
#include <sal/types.h>
@@ -37,12 +36,12 @@ namespace unoidl {
namespace cppuhelper {
-typedef cppu::WeakComponentImplHelper<
+typedef WeakComponentImplHelper2<
css::lang::XServiceInfo, css::container::XHierarchicalNameAccess,
css::container::XSet, css::reflection::XTypeDescriptionEnumerationAccess >
TypeManager_Base;
-class TypeManager: private cppu::BaseMutex, public TypeManager_Base {
+class TypeManager: public TypeManager_Base {
public:
TypeManager();
@@ -59,8 +58,6 @@ public:
private:
virtual ~TypeManager() noexcept override;
- virtual void SAL_CALL disposing() override;
-
virtual OUString SAL_CALL getImplementationName() override;
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override;