summaryrefslogtreecommitdiff
path: root/basic/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-11-22 18:52:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-27 08:09:11 +0100
commitd7cd65577d9b5209e4bd2334e2d63f12c4831143 (patch)
treef210556a08c0daaa0fd3b0d7a446a97a209e2dfa /basic/source/inc
parent2b95775b0dd20e90bb6ec6925a6745b27cf032e6 (diff)
use more OInterfaceContainerHelper3 in ModifiableHelper
Change-Id: I8d959e365f995d48a6105fac3ed0f84c7cc1d86b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125920 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/inc')
-rw-r--r--basic/source/inc/namecont.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/basic/source/inc/namecont.hxx b/basic/source/inc/namecont.hxx
index 9a8bfa12f257..6a3b020d00a4 100644
--- a/basic/source/inc/namecont.hxx
+++ b/basic/source/inc/namecont.hxx
@@ -49,6 +49,7 @@
#include <cppuhelper/component.hxx>
#include <cppuhelper/basemutex.hxx>
#include <rtl/ref.hxx>
+#include <comphelper/interfacecontainer3.hxx>
#include <comphelper/listenernotification.hxx>
#include <xmlscript/xmllib_imexp.hxx>
#include <comphelper/interfacecontainer3.hxx>
@@ -130,7 +131,7 @@ public:
class ModifiableHelper
{
private:
- ::comphelper::OInterfaceContainerHelper2 m_aModifyListeners;
+ ::comphelper::OInterfaceContainerHelper3<css::util::XModifyListener> m_aModifyListeners;
::cppu::OWeakObject& m_rEventSource;
bool mbModified;
@@ -143,7 +144,7 @@ public:
}
bool isModified() const { return mbModified; }
- void setModified( bool _bModified );
+ void setModified( bool _bModified );
void addModifyListener( const css::uno::Reference< css::util::XModifyListener >& _rxListener )
{