From a6fe4515d54a56ebd2d9f9984fffb5261bf66bbf Mon Sep 17 00:00:00 2001 From: "Frank Schoenheit [fs]" Date: Wed, 6 Jan 2010 08:22:40 +0100 Subject: do not switch off the property browser (and other child windows) with ShowChildWindow, but use ChildWindowExecute, which really destroys the window if necessary --- svx/source/form/fmshell.cxx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx index e2d19d35c8..4bea83e7f7 100644 --- a/svx/source/form/fmshell.cxx +++ b/svx/source/form/fmshell.cxx @@ -684,15 +684,7 @@ void FmFormShell::Execute(SfxRequest &rReq) case SID_FM_FILTER_NAVIGATOR: case SID_FM_SHOW_DATANAVIGATOR : { - SFX_REQUEST_ARG( rReq, pShowItem, SfxBoolItem, nSlot, sal_False ); - if ( !pShowItem ) - GetViewShell()->GetViewFrame()->ChildWindowExecute( rReq ); - else - { - const sal_Bool bShow = pShowItem->GetValue(); - GetViewShell()->GetViewFrame()->ShowChildWindow( nSlot, bShow ); - } - + GetViewShell()->GetViewFrame()->ChildWindowExecute( rReq ); rReq.Done(); } break; case SID_FM_SHOW_FMEXPLORER: -- cgit v1.2.3