summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-08-06 19:50:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-06 22:26:13 +0200
commit6af2e7d21ce050758ad07fbb951a38b2da2b6c4c (patch)
tree726d6ffb6520725af74d019283c685934e983fc7 /io
parent26cfb57abfc037752bc02dae043f08ac7b2bc711 (diff)
use more comphelper::OInterfaceContainerHelper2
Change-Id: I255133e1823fd63620f27421b69cd23d75ebb6fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120127 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'io')
-rw-r--r--io/Library_io.mk1
-rw-r--r--io/source/stm/opump.cxx12
2 files changed, 7 insertions, 6 deletions
diff --git a/io/Library_io.mk b/io/Library_io.mk
index b961b437cd46..6512cfac8122 100644
--- a/io/Library_io.mk
+++ b/io/Library_io.mk
@@ -14,6 +14,7 @@ $(eval $(call gb_Library_use_external,io,boost_headers))
$(eval $(call gb_Library_use_udk_api,io))
$(eval $(call gb_Library_use_libraries,io,\
+ comphelper \
cppu \
cppuhelper \
sal \
diff --git a/io/source/stm/opump.cxx b/io/source/stm/opump.cxx
index 7ba8752d8dfb..bef9aa2d3f1c 100644
--- a/io/source/stm/opump.cxx
+++ b/io/source/stm/opump.cxx
@@ -28,7 +28,7 @@
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/implbase.hxx>
-#include <cppuhelper/interfacecontainer.hxx>
+#include <comphelper/interfacecontainer2.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <osl/mutex.hxx>
#include <osl/thread.h>
@@ -55,7 +55,7 @@ namespace io_stm {
Reference< XConnectable > m_xSucc;
Reference< XInputStream > m_xInput;
Reference< XOutputStream > m_xOutput;
- OInterfaceContainerHelper m_cnt;
+ comphelper::OInterfaceContainerHelper2 m_cnt;
bool m_closeFired;
void run();
@@ -117,7 +117,7 @@ Pump::~Pump()
void Pump::fireError( const Any & exception )
{
- OInterfaceIteratorHelper iter( m_cnt );
+ comphelper::OInterfaceIteratorHelper2 iter( m_cnt );
while( iter.hasMoreElements() )
{
try
@@ -146,7 +146,7 @@ void Pump::fireClose()
if( !bFire )
return;
- OInterfaceIteratorHelper iter( m_cnt );
+ comphelper::OInterfaceIteratorHelper2 iter( m_cnt );
while( iter.hasMoreElements() )
{
try
@@ -162,7 +162,7 @@ void Pump::fireClose()
void Pump::fireStarted()
{
- OInterfaceIteratorHelper iter( m_cnt );
+ comphelper::OInterfaceIteratorHelper2 iter( m_cnt );
while( iter.hasMoreElements() )
{
try
@@ -178,7 +178,7 @@ void Pump::fireStarted()
void Pump::fireTerminated()
{
- OInterfaceIteratorHelper iter( m_cnt );
+ comphelper::OInterfaceIteratorHelper2 iter( m_cnt );
while( iter.hasMoreElements() )
{
try