summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-15 14:18:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-21 15:27:30 +0100
commit65cdced005f39fc2c7ca49a0427810518f368e19 (patch)
tree14b5efaca13900e8d3df0f2c66586f43c7df0c73
parent34b52ae66a275d7dd6328adf0d8da23b2ead6560 (diff)
use ToggleChildWindow
making this similar to existing cases like the writer word count and other toggleable utility windows Change-Id: I0239114596a01d8c341e2ed2fd92bf1bd323938b Reviewed-on: https://gerrit.libreoffice.org/83380 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--svx/source/form/fmshell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx
index b06db6191ea1..5981c86c1dc1 100644
--- a/svx/source/form/fmshell.cxx
+++ b/svx/source/form/fmshell.cxx
@@ -618,7 +618,7 @@ void FmFormShell::Execute(SfxRequest &rReq)
case SID_FM_FILTER_NAVIGATOR:
case SID_FM_SHOW_DATANAVIGATOR :
{
- GetViewShell()->GetViewFrame()->ChildWindowExecute( rReq );
+ GetViewShell()->GetViewFrame()->ToggleChildWindow(nSlot);
rReq.Done();
} break;
case SID_FM_SHOW_FMEXPLORER: