summaryrefslogtreecommitdiff
path: root/forms/source/misc
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-12-21 12:23:36 +0000
committerOliver Bolte <obo@openoffice.org>2005-12-21 12:23:36 +0000
commit42a79be79a159641bc4644f64a46a7b33ad9d6b2 (patch)
tree1802723f31fb0b8ef6edffba83c139bfa59cdbbc /forms/source/misc
parent2f35c804f87e777d11a5e375d009de4e43a1676a (diff)
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
Diffstat (limited to 'forms/source/misc')
-rw-r--r--forms/source/misc/InterfaceContainer.cxx10
1 files changed, 5 insertions, 5 deletions
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 );
}
//------------------------------------------------------------------------------