summaryrefslogtreecommitdiff
path: root/forms/source/component
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-12-21 12:22:03 +0000
committerOliver Bolte <obo@openoffice.org>2005-12-21 12:22:03 +0000
commit77683bcb19743830f6abbc5145e7638869153bd1 (patch)
treed423b5d5026ce78572f06abe8fc02b719e85a46e /forms/source/component
parentf45369f0c5c046ab3dc5a404bfaf74ae4eb43753 (diff)
INTEGRATION: CWS dba202a (1.36.28); FILE MERGED
2005/11/25 13:42:20 fs 1.36.28.1: comphelper::OReusableGuard -> osl::ResettableMutexGuard / NOTIFY_LISTENERS replaced by ListenerContainer::forEach/notifyEach
Diffstat (limited to 'forms/source/component')
-rw-r--r--forms/source/component/Grid.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/forms/source/component/Grid.cxx b/forms/source/component/Grid.cxx
index b79ad7c1c812..6fec12c82f25 100644
--- a/forms/source/component/Grid.cxx
+++ b/forms/source/component/Grid.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: Grid.cxx,v $
*
- * $Revision: 1.36 $
+ * $Revision: 1.37 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 22:42:00 $
+ * last change: $Author: obo $ $Date: 2005-12-21 13:22:03 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -361,7 +361,7 @@ sal_Bool SAL_CALL OGridControlModel::select(const Any& rElement) throw(IllegalAr
{
m_xSelection = xSel;
EventObject aEvt(xMe);
- NOTIFY_LISTENERS(m_aSelectListeners, XSelectionChangeListener, selectionChanged, aEvt);
+ m_aSelectListeners.notifyEach( &XSelectionChangeListener::selectionChanged, aEvt );
return sal_True;
}
return sal_False;
@@ -435,7 +435,7 @@ void SAL_CALL OGridControlModel::reset() throw ( ::com::sun::star::uno::RuntimeE
if (bContinue)
{
_reset();
- NOTIFY_LISTENERS(m_aResetListeners, XResetListener, resetted, aEvt);
+ m_aResetListeners.notifyEach( &XResetListener::resetted, aEvt );
}
}
@@ -879,7 +879,7 @@ void OGridControlModel::lostColumn(const Reference< XInterface >& _rxColumn)
{ // the currently selected element was replaced
m_xSelection.clear();
EventObject aEvt(static_cast<XWeak*>(this));
- NOTIFY_LISTENERS(m_aSelectListeners, XSelectionChangeListener, selectionChanged, aEvt);
+ m_aSelectListeners.notifyEach( &XSelectionChangeListener::selectionChanged, aEvt );
}
}