summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'scripting')
-rw-r--r--scripting/Library_stringresource.mk1
-rw-r--r--scripting/source/stringresource/stringresource.cxx2
-rw-r--r--scripting/source/stringresource/stringresource.hxx4
3 files changed, 4 insertions, 3 deletions
diff --git a/scripting/Library_stringresource.mk b/scripting/Library_stringresource.mk
index 1588fd4faff4..c70a054d1bc6 100644
--- a/scripting/Library_stringresource.mk
+++ b/scripting/Library_stringresource.mk
@@ -21,6 +21,7 @@ $(eval $(call gb_Library_use_external,stringresource,boost_headers))
$(eval $(call gb_Library_use_sdk_api,stringresource))
$(eval $(call gb_Library_use_libraries,stringresource,\
+ comphelper \
cppu \
cppuhelper \
sal \
diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx
index f37c4e8fc4e7..46d011d44543 100644
--- a/scripting/source/stringresource/stringresource.cxx
+++ b/scripting/source/stringresource/stringresource.cxx
@@ -701,7 +701,7 @@ void StringResourceImpl::implNotifyListeners()
EventObject aEvent;
aEvent.Source = static_cast< XInterface* >( static_cast<OWeakObject*>(this) );
- ::cppu::OInterfaceIteratorHelper it( m_aListenerContainer );
+ ::comphelper::OInterfaceIteratorHelper2 it( m_aListenerContainer );
while( it.hasMoreElements() )
{
Reference< XInterface > xIface = it.next();
diff --git a/scripting/source/stringresource/stringresource.hxx b/scripting/source/stringresource/stringresource.hxx
index fc130b852e8e..4519f7cfa678 100644
--- a/scripting/source/stringresource/stringresource.hxx
+++ b/scripting/source/stringresource/stringresource.hxx
@@ -29,7 +29,7 @@
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <cppuhelper/implbase.hxx>
-#include <cppuhelper/interfacecontainer.hxx>
+#include <comphelper/interfacecontainer2.hxx>
#include <osl/mutex.hxx>
#include <unordered_map>
@@ -103,7 +103,7 @@ protected:
LocaleItem* m_pDefaultLocaleItem;
bool m_bDefaultModified;
- ::cppu::OInterfaceContainerHelper m_aListenerContainer;
+ ::comphelper::OInterfaceContainerHelper2 m_aListenerContainer;
LocaleItemVector m_aLocaleItemVector;
LocaleItemVector m_aDeletedLocaleItemVector;