View | Details | Raw Unified | Return to issue 461
Collapse All | Expand All

(-)odispatchprovider.cxx (+6 lines)
Lines 621-631 Link Here
621
							// (Copy current descriptor again! ... see below for further informations.)
621
							// (Copy current descriptor again! ... see below for further informations.)
622
							// Load document synchronous and get state of operation.
622
							// Load document synchronous and get state of operation.
623
							lDescriptor		= aAnalyzer.getArgumentsAsProperties();
623
							lDescriptor		= aAnalyzer.getArgumentsAsProperties();
624
624
							bDispatchState	= xSyncLoader->load( lDescriptor, xTargetFrame );
625
							bDispatchState	= xSyncLoader->load( lDescriptor, xTargetFrame );
625
626
626
							// Check loading state and react.
627
							// Check loading state and react.
627
							// If it was true => set visible state of frame window
628
							// If it was true => set visible state of frame window
628
							// otherwise => reactivate old controller (if anyone exist!)
629
							// otherwise => reactivate old controller (if anyone exist!)
630
631
							// Clear the guard before you call load().
632
							// The loader call us back in loadFinished() or loadCancelled()!
633
							// Work with local variables only ...
634
							UNLOCK_MUTEX( aGuard, "ODispatchProvider::dispatch()" )
629
635
630
							// DON'T SEND STATUS EVENT HERE!
636
							// DON'T SEND STATUS EVENT HERE!
631
							// We do it at the end of this method.
637
							// We do it at the end of this method.

Return to issue 461