summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-01-06 08:22:40 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-01-06 08:22:40 +0100
commita6fe4515d54a56ebd2d9f9984fffb5261bf66bbf (patch)
tree0a716a3a67060a5b502d9ba1b3fe5f2398569bab
parent1516db79425e0812862dc2af8779650e7f54f51e (diff)
do not switch off the property browser (and other child windows) with ShowChildWindow, but use ChildWindowExecute, which really destroys the window if necessary
-rw-r--r--svx/source/form/fmshell.cxx10
1 files changed, 1 insertions, 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: