include/editeng/unotext.hxx         |    4 ++--
 sw/source/core/unocore/unofield.cxx |    1 +
 sw/source/core/unocore/unoframe.cxx |    1 +
 3 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit f5e9012dcf2ad14a82a879beed645f83439d08bf
Author:     Noel Grandin <noelgran...@gmail.com>
AuthorDate: Mon Nov 22 21:18:54 2021 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Sat Nov 27 19:52:23 2021 +0100

    use more OInterfaceContainerHelper3 in SvxUnoTextContent
    
    Change-Id: Ibef254a6391fb93d4ecfa91ef3ef3a31b4e146a3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125929
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx
index bd41ffd16940..e4b5aad31eac 100644
--- a/include/editeng/unotext.hxx
+++ b/include/editeng/unotext.hxx
@@ -41,7 +41,7 @@
 #include <com/sun/star/style/LineSpacing.hpp>
 #include <com/sun/star/style/TabStop.hpp>
 #include <com/sun/star/lang/XUnoTunnel.hpp>
-#include <comphelper/interfacecontainer2.hxx>
+#include <comphelper/interfacecontainer3.hxx>
 #include <cppuhelper/implbase1.hxx>
 #include <cppuhelper/weakagg.hxx>
 #include <osl/diagnose.hxx>
@@ -523,7 +523,7 @@ private:
 
     // for xComponent
     ::osl::Mutex maDisposeContainerMutex;
-    ::comphelper::OInterfaceContainerHelper2 maDisposeListeners;
+    ::comphelper::OInterfaceContainerHelper3<css::lang::XEventListener> 
maDisposeListeners;
     bool mbDisposing;
 
 protected:
diff --git a/sw/source/core/unocore/unofield.cxx 
b/sw/source/core/unocore/unofield.cxx
index a09e6785c864..176ecc5f56e6 100644
--- a/sw/source/core/unocore/unofield.cxx
+++ b/sw/source/core/unocore/unofield.cxx
@@ -43,6 +43,7 @@
 #include <sfx2/linkmgr.hxx>
 #include <editsh.hxx>
 #include <viewsh.hxx>
+#include <comphelper/interfacecontainer2.hxx>
 #include <comphelper/servicehelper.hxx>
 #include <comphelper/string.hxx>
 #include <cppuhelper/supportsservice.hxx>
diff --git a/sw/source/core/unocore/unoframe.cxx 
b/sw/source/core/unocore/unoframe.cxx
index 4c35a9248665..e4e73fe4460f 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -109,6 +109,7 @@
 #include <fmtfollowtextflow.hxx>
 #include <fmtwrapinfluenceonobjpos.hxx>
 #include <toolkit/helper/vclunohelper.hxx>
+#include <comphelper/interfacecontainer2.hxx>
 #include <comphelper/servicehelper.hxx>
 #include <cppuhelper/supportsservice.hxx>
 #include <sal/log.hxx>

Reply via email to