[Libreoffice-commits] core.git: svx/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Nov 21 14:29:17 UTC 2019


 svx/source/form/fmshell.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 65cdced005f39fc2c7ca49a0427810518f368e19
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Nov 15 14:18:29 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Nov 21 15:27:30 2019 +0100

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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:


More information about the Libreoffice-commits mailing list