summaryrefslogtreecommitdiff
path: root/package/source
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-03-26 11:14:30 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-03-26 11:14:30 +0000
commitd0cf11f65cab70713fc6d3eb3c1ee3585234db8f (patch)
tree6e76f31c25d40b6cedac7129bd98764dd79b5c05 /package/source
parent77790186507087b3e2af0ee8c4ef24717f6296db (diff)
INTEGRATION: CWS fwk61 (1.29.10); FILE MERGED
2007/02/01 08:47:51 mav 1.29.10.1: #i74079# fix the hierarchy access
Diffstat (limited to 'package/source')
-rw-r--r--package/source/xstor/xstorage.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx
index ea580c4ffbb2..fa3ed129c38e 100644
--- a/package/source/xstor/xstorage.cxx
+++ b/package/source/xstor/xstorage.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: xstorage.cxx,v $
*
- * $Revision: 1.29 $
+ * $Revision: 1.30 $
*
- * last change: $Author: ihi $ $Date: 2006-12-19 14:09:54 $
+ * last change: $Author: ihi $ $Date: 2007-03-26 12:14:30 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1995,6 +1995,8 @@ void SAL_CALL OStorage::InternalDispose( sal_Bool bNotifyImpl )
if ( !m_pImpl )
throw lang::DisposedException();
+ // the source object is also a kind of locker for the current object
+ // since the listeners could dispose the object while being notified
lang::EventObject aSource( static_cast< ::cppu::OWeakObject* >(this) );
m_pData->m_aListenersContainer.disposeAndClear( aSource );