summaryrefslogtreecommitdiff
path: root/basic
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
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')
-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 )
{
/td>Noel Grandin Change-Id: I7b4c18b1f9644048f506fc1b1d1fb8c8c590ea7f 2014-10-20loplugin: cstylecastNoel Grandin Change-Id: If50022b55a558c4124d71acbbe0ef5eb48801d0b 2014-09-12Turn SfxItemState into a C++11 scoped enumerationStephan Bergmann ...to gain further confidence in the claim "that none of the existing code tries to uses combinations of these enum values" (d92602c5b13d0a60439d86c5a033d124178726ca "more fixes for SfxItemState") Change-Id: I987922d945e8738e38adfde83b869adf3ff35b13 Reviewed-on: https://gerrit.libreoffice.org/11384 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com> 2014-09-10Replace uses of old SFX_ITEM_AVAILABLE alias with SFX_ITEM_DEFAULTStephan Bergmann Change-Id: I88eeac06413fc3935cbbdb357ff8bf9acaa383a8 2014-08-19svx: Cleanup ASCII art and useless commentsChris Laplante Change-Id: I5399362056276f324fd43eda05d3f606dc6f8c71 Reviewed-on: https://gerrit.libreoffice.org/11011 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> 2014-08-18drop unnecessary shl.hxx includesCaolán McNamara Change-Id: Ieb984987c4a4f888a563377e0500444b12f43506