From 8e048c3c572dc02f1161744278d875c9f842574e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 27 Mar 2024 11:19:16 +0200 Subject: convert BasicScriptImplodNodeImpl to comphelper::WeakImplHelper and remove OBroadcastHelperHolder, since nothing uses it anymore Change-Id: Id07b4589e0893950974c6bf41e0d4f2d8dc7ee81 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165491 Tested-by: Jenkins Reviewed-by: Noel Grandin --- scripting/source/basprov/basscript.hxx | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'scripting/source/basprov/basscript.hxx') diff --git a/scripting/source/basprov/basscript.hxx b/scripting/source/basprov/basscript.hxx index e7a94d706ee7..2adcd9c8b311 100644 --- a/scripting/source/basprov/basscript.hxx +++ b/scripting/source/basprov/basscript.hxx @@ -19,13 +19,12 @@ #pragma once -#include #include #include -#include #include +#include #include -#include +#include #include #include @@ -38,14 +37,12 @@ namespace basprov - typedef ::cppu::WeakImplHelper< + typedef ::comphelper::WeakImplHelper< css::script::provider::XScript > BasicScriptImpl_BASE; class BasicScriptImpl : public BasicScriptImpl_BASE, public SfxListener, - public cppu::BaseMutex, - public ::scripting_helper::OBroadcastHelperHolder, - public ::comphelper::OPropertyContainer, + public ::comphelper::OPropertyContainer2, public ::comphelper::OPropertyArrayUsageHelper< BasicScriptImpl > { private: @@ -60,7 +57,7 @@ namespace basprov css::uno::Sequence< css::uno::Any > m_caller; protected: // OPropertySetHelper - virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper( ) override; + virtual ::cppu::IPropertyArrayHelper& getInfoHelper( ) override; // OPropertyArrayUsageHelper virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const override; -- cgit