From 42a79be79a159641bc4644f64a46a7b33ad9d6b2 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Wed, 21 Dec 2005 12:23:36 +0000 Subject: INTEGRATION: CWS dba202a (1.21.30); FILE MERGED 2005/11/25 13:42:24 fs 1.21.30.1: comphelper::OReusableGuard -> osl::ResettableMutexGuard / NOTIFY_LISTENERS replaced by ListenerContainer::forEach/notifyEach --- forms/source/misc/InterfaceContainer.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'forms') diff --git a/forms/source/misc/InterfaceContainer.cxx b/forms/source/misc/InterfaceContainer.cxx index d8496bba0801..a3a5597b54ef 100644 --- a/forms/source/misc/InterfaceContainer.cxx +++ b/forms/source/misc/InterfaceContainer.cxx @@ -4,9 +4,9 @@ * * $RCSfile: InterfaceContainer.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: rt $ $Date: 2005-09-08 23:00:02 $ + * last change: $Author: obo $ $Date: 2005-12-21 13:23:36 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -820,7 +820,7 @@ void OInterfaceContainer::implInsert(sal_Int32 _nIndex, const Reference< XProper aEvt.Element = pElementMetaData->aElementTypeInterface; aGuard.clear(); - NOTIFY_LISTENERS(m_aContainerListeners, XContainerListener, elementInserted, aEvt); + m_aContainerListeners.notifyEach( &XContainerListener::elementInserted, aEvt ); } } @@ -928,7 +928,7 @@ void OInterfaceContainer::implReplaceByIndex( const sal_Int32 _nIndex, const Any aEvt.ReplacedElement = xOldElement->queryInterface( m_aElementType ); _rClearBeforeNotify.clear(); - NOTIFY_LISTENERS(m_aContainerListeners, XContainerListener, elementReplaced, aEvt); + m_aContainerListeners.notifyEach( &XContainerListener::elementReplaced, aEvt ); } //------------------------------------------------------------------------------ @@ -988,7 +988,7 @@ void OInterfaceContainer::implRemoveByIndex( const sal_Int32 _nIndex, ::osl::Cle aEvt.Accessor <<= _nIndex; _rClearBeforeNotify.clear(); - NOTIFY_LISTENERS(m_aContainerListeners, XContainerListener, elementRemoved, aEvt); + m_aContainerListeners.notifyEach( &XContainerListener::elementRemoved, aEvt ); } //------------------------------------------------------------------------------ -- cgit