RCS file: /cvs/oo/framework/framework/source/helper/odispatchprovider.cxx,v retrieving revision 1.16 diff -u -r1.16 odispatchprovider.cxx --- odispatchprovider.cxx 2001/02/01 09:12:53 1.16 +++ odispatchprovider.cxx 2001/02/22 16:04:50 @@ -621,11 +621,17 @@ // (Copy current descriptor again! ... see below for further informations.) // Load document synchronous and get state of operation. lDescriptor = aAnalyzer.getArgumentsAsProperties(); + bDispatchState = xSyncLoader->load( lDescriptor, xTargetFrame ); // Check loading state and react. // If it was true => set visible state of frame window // otherwise => reactivate old controller (if anyone exist!) + + // Clear the guard before you call load(). + // The loader call us back in loadFinished() or loadCancelled()! + // Work with local variables only ... + UNLOCK_MUTEX( aGuard, "ODispatchProvider::dispatch()" ) // DON'T SEND STATUS EVENT HERE! // We do it at the end of this method.