#99549# check if we are already disposed before invalidate all slots

This commit is contained in:
Ocke Janssen 2002-05-28 08:52:54 +00:00
parent b35c6e0673
commit 575f99890c

View file

@ -2,9 +2,9 @@
*
* $RCSfile: genericcontroller.cxx,v $
*
* $Revision: 1.37 $
* $Revision: 1.38 $
*
* last change: $Author: fs $ $Date: 2002-05-23 12:28:31 $
* last change: $Author: oj $ $Date: 2002-05-28 09:52:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -217,7 +217,7 @@ sal_Bool OGenericUnoController::Construct(Window* pParent)
//------------------------------------------------------------------------------
IMPL_LINK(OGenericUnoController, OnAsyncInvalidateAll, void*, EMPTYARG)
{
if(!OGenericUnoController_COMPBASE::rBHelper.bInDispose)
if ( !OGenericUnoController_COMPBASE::rBHelper.bInDispose && !m_bDisposed )
InvalidateFeature_Impl();
return 0L;
}