summaryrefslogtreecommitdiff
path: root/unoxml/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-09-15 19:07:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-09-16 08:12:17 +0200
commitbd53efb7917540c5f3b85957ed56a767c258e89a (patch)
tree68e9e1960a8f6c2003918343d46cf9a2e182261d /unoxml/source
parentdaba3bc2344a42e6f0a3796735a2f1f7d7063162 (diff)
use more concrete UNO types in unoxml
Change-Id: I50e22d15e02bde4c0e97c89b42fe3399d7a1dfe5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173412 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
Diffstat (limited to 'unoxml/source')
-rw-r--r--unoxml/source/dom/elementlist.cxx2
-rw-r--r--unoxml/source/dom/elementlist.hxx3
2 files changed, 3 insertions, 2 deletions
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<css::xml::dom::events::XEventListener>
{
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<CElement> const m_pElement;
::osl::Mutex & m_rMutex;