diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-01-06 08:22:40 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-01-06 08:22:40 +0100 |
commit | b808bcd158de73623144e9dac18f39e6ec0b9bf0 (patch) | |
tree | cd6518423351df8cb22378e38225b6e56261f5a2 /svx/source/form/fmshell.cxx | |
parent | 552d36de5623cbcf9b995da239b4f59ce16eb8a5 (diff) |
do not switch off the property browser (and other child windows) with ShowChildWindow, but use ChildWindowExecute, which really destroys the window if necessary
Diffstat (limited to 'svx/source/form/fmshell.cxx')
-rw-r--r-- | svx/source/form/fmshell.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx index 4820cf44978b..5c46f0482b4a 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: |