diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-12-15 11:43:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-12-16 16:34:29 +0100 |
commit | b2aa646ef09dc8434d3ca8a5bba53a8d8ff3f910 (patch) | |
tree | 698f6685374b0cea17b925c522aa6a1aac4770a3 /forms/source | |
parent | 6ce377a649c8db7576dbb7a30949d0f89c08439f (diff) |
use more OInterfaceContainerHelper3 in toolkit
Change-Id: I3861a254d660662cbf575e9669cbacba36634856
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126855
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'forms/source')
-rw-r--r-- | forms/source/component/Filter.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx index 7fc70280e696..38ed0b7ada01 100644 --- a/forms/source/component/Filter.cxx +++ b/forms/source/component/Filter.cxx @@ -357,9 +357,9 @@ namespace frm m_aText = sText; TextEvent aEvt; aEvt.Source = *this; - ::comphelper::OInterfaceIteratorHelper2 aIt( m_aTextListeners ); + ::comphelper::OInterfaceIteratorHelper3 aIt(m_aTextListeners); while( aIt.hasMoreElements() ) - static_cast<XTextListener *>(aIt.next())->textChanged( aEvt ); + aIt.next()->textChanged(aEvt); } #endif } @@ -532,9 +532,9 @@ namespace frm setText(aNewText); TextEvent aEvt; aEvt.Source = *this; - ::comphelper::OInterfaceIteratorHelper2 aIt( m_aTextListeners ); + ::comphelper::OInterfaceIteratorHelper3 aIt(m_aTextListeners); while( aIt.hasMoreElements() ) - static_cast< XTextListener* >( aIt.next() )->textChanged( aEvt ); + aIt.next()->textChanged(aEvt); } #endif return true; |