INTEGRATION: CWS mav09 (1.2.2); FILE MERGED

2004/09/16 17:23:52 mav 1.2.2.2: RESYNC: (1.2-1.3); FILE MERGED
2004/08/02 13:38:11 mav 1.2.2.1: #i27773# CD fix for toolbars
This commit is contained in:
Kurt Zenker 2004-10-04 17:07:15 +00:00
parent cb5ab41440
commit ec1a294d3f

View file

@ -2,9 +2,9 @@
*
* $RCSfile: toolbarwrapper.cxx,v $
*
* $Revision: 1.3 $
* $Revision: 1.4 $
*
* last change: $Author: obo $ $Date: 2004-09-09 17:12:29 $
* last change: $Author: kz $ $Date: 2004-10-04 18:07:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -170,6 +170,12 @@ void SAL_CALL ToolBarWrapper::dispose() throw ( RuntimeException )
{
Reference< XComponent > xThis( static_cast< OWeakObject* >(this), UNO_QUERY );
{
ResetableGuard aLock( m_aLock );
if ( m_bDisposed )
return;
}
com::sun::star::lang::EventObject aEvent( xThis );
m_aListenerContainer.disposeAndClear( aEvent );