From bd53efb7917540c5f3b85957ed56a767c258e89a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 15 Sep 2024 19:07:14 +0200 Subject: use more concrete UNO types in unoxml Change-Id: I50e22d15e02bde4c0e97c89b42fe3399d7a1dfe5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173412 Reviewed-by: Noel Grandin Tested-by: Jenkins --- unoxml/source/dom/elementlist.cxx | 2 +- unoxml/source/dom/elementlist.hxx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'unoxml/source') diff --git a/unoxml/source/dom/elementlist.cxx b/unoxml/source/dom/elementlist.cxx index 00ebe21013b8..9fe297d5604e 100644 --- a/unoxml/source/dom/elementlist.cxx +++ b/unoxml/source/dom/elementlist.cxx @@ -36,7 +36,7 @@ using namespace css::xml::dom; using namespace css::xml::dom::events; namespace DOM { class CElementListImpl; } -namespace +namespace DOM { class WeakEventListener : public ::cppu::WeakImplHelper { diff --git a/unoxml/source/dom/elementlist.hxx b/unoxml/source/dom/elementlist.hxx index 092529282148..27b75af2e714 100644 --- a/unoxml/source/dom/elementlist.hxx +++ b/unoxml/source/dom/elementlist.hxx @@ -38,6 +38,7 @@ namespace DOM { + class WeakEventListener; class CElement; class CElementListImpl @@ -48,7 +49,7 @@ namespace DOM /** @short proxy weak binding to forward Events to ourself without an ownership cycle */ - css::uno::Reference< css::xml::dom::events::XEventListener > m_xEventListener; + rtl::Reference< WeakEventListener > m_xEventListener; ::rtl::Reference const m_pElement; ::osl::Mutex & m_rMutex; -- cgit