From 7db511734a1c166dda917da2191aa33e4cc3a0b4 Mon Sep 17 00:00:00 2001 From: Michael Brauer Date: Fri, 28 Jun 2002 06:20:24 +0000 Subject: [PATCH] #100800#: broadcast no events for DEFUNC state change --- sw/source/core/access/acccontext.cxx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sw/source/core/access/acccontext.cxx b/sw/source/core/access/acccontext.cxx index 64a3dfff34c2..ded20c030e65 100644 --- a/sw/source/core/access/acccontext.cxx +++ b/sw/source/core/access/acccontext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: acccontext.cxx,v $ * - * $Revision: 1.31 $ + * $Revision: 1.32 $ * - * last change: $Author: mib $ $Date: 2002-05-29 14:59:06 $ + * last change: $Author: mib $ $Date: 2002-06-28 07:20:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1100,15 +1100,13 @@ void SwAccessibleContext::Dispose( sal_Bool bRecursive ) DBG_MSG_THIS_PARAM( "AccessibleChild (removed)", pAcc, this ) } - // set defunc state + // set defunc state (its not required to broadcast a state changed + // event if the object is diposed afterwards) { vos::OGuard aGuard( aMutex ); bIsDefuncState = sal_True; } - // broadcast state change - FireStateChangedEvent( AccessibleStateType::DEFUNC, sal_True ); - // broadcast dispose event { EventObject aEvent;