summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-11-22 21:03:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-27 08:10:17 +0100
commit203ba801eee12f9d6bffb2ae49ad82ba7bf191c1 (patch)
tree3497dd2c094c341a856127d19268d08e18ce52fa /connectivity/source/commontools
parent27651c72f2beb3574efcf240e8472a6f441476a8 (diff)
use more OInterfaceContainerHelper3 in dbtools::ParameterManager
Change-Id: Ice607fb67468484e98c94e4f41c3e249639e1edb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125922 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r--connectivity/source/commontools/parameters.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/commontools/parameters.cxx b/connectivity/source/commontools/parameters.cxx
index 380c4658ae43..117282fbd7f3 100644
--- a/connectivity/source/commontools/parameters.cxx
+++ b/connectivity/source/commontools/parameters.cxx
@@ -707,14 +707,14 @@ namespace dbtools
// TODO: shouldn't we subtract all the parameters which were already visited?
if ( nParamsLeft )
{
- ::comphelper::OInterfaceIteratorHelper2 aIter( m_aParameterListeners );
+ ::comphelper::OInterfaceIteratorHelper3 aIter( m_aParameterListeners );
Reference< XPropertySet > xProp = m_xComponent;
OSL_ENSURE(xProp.is(),"Some already released my component!");
DatabaseParameterEvent aEvent( xProp, m_pOuterParameters );
_rClearForNotifies.clear();
while ( aIter.hasMoreElements() && !bCanceled )
- bCanceled = !static_cast< XDatabaseParameterListener* >( aIter.next() )->approveParameter( aEvent );
+ bCanceled = !aIter.next()->approveParameter( aEvent );
_rClearForNotifies.reset();
}