summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-02-03 18:58:43 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-02-03 18:58:43 +0000
commit84a21b6b07e29d0b409f5e95691571eff74d0513 (patch)
tree46b78d9d5c17321353c7981331a9dedea23e3b7b /sfx2
parente8f28d79cb3bf1b92a45ffdf23678a6b737ade48 (diff)
INTEGRATION: CWS dialogdiet (1.53.12); FILE MERGED
2004/01/19 22:43:27 mba 1.53.12.2: RESYNC: (1.53-1.55); FILE MERGED 2004/01/13 12:25:45 mba 1.53.12.1: #i19711#: copy interface container before notification because object might be disposed
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index fede45a960b6..8101262ba87e 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sfxbasemodel.cxx,v $
*
- * $Revision: 1.56 $
+ * $Revision: 1.57 $
*
- * last change: $Author: hr $ $Date: 2004-02-03 18:10:05 $
+ * last change: $Author: hr $ $Date: 2004-02-03 19:58:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2538,7 +2538,11 @@ void SfxBaseModel::postEvent_Impl( const SfxEventHint& rHint )
{
OUSTRING aName = SfxEventConfiguration::GetEventName_Impl( rHint.GetEventId() );
DOCEVENTOBJECT aEvent( (XMODEL *)this, aName );
- OINTERFACEITERATORHELPER aIt( *pIC );
+ OINTERFACECONTAINERHELPER aIC( m_aMutex );
+ SEQUENCE < REFERENCE < XINTERFACE > > aElements = pIC->getElements();
+ for ( sal_Int32 nElem=0; nElem<aElements.getLength(); nElem++ )
+ aIC.addInterface( aElements[nElem] );
+ OINTERFACEITERATORHELPER aIt( aIC );
while( aIt.hasMoreElements() )
{
try