[Libreoffice-commits] core.git: 2 commits - sw/source

Caolán McNamara caolanm at redhat.com
Thu Nov 10 16:16:15 UTC 2016


 sw/source/uibase/utlui/navipi.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 8445764681bfe7bd6cd31194878e1314a8fafa3b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Nov 10 16:10:07 2016 +0000

    Resolves: tdf#103809 the argument is a bool* not a VclPtr
    
    Change-Id: Ia07f4ff7b243708304186c840135ec1180621fa5

diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx
index 6ef4408..18aaeb7 100644
--- a/sw/source/uibase/utlui/navipi.cxx
+++ b/sw/source/uibase/utlui/navipi.cxx
@@ -231,13 +231,13 @@ IMPL_LINK( SwNavigationPI, ToolBoxSelectHdl, ToolBox *, pBox, void )
     {
         // #i75416# move the execution of the search to an asynchronously called static link
         bool* pbNext = new bool(false);
-        Application::PostUserEvent(LINK(pView, SwView, MoveNavigationHdl), pbNext, true);
+        Application::PostUserEvent(LINK(pView, SwView, MoveNavigationHdl), pbNext);
     }
     else if (sCommand == "forward")
     {
         // #i75416# move the execution of the search to an asynchronously called static link
         bool* pbNext = new bool(true);
-        Application::PostUserEvent(LINK(pView, SwView, MoveNavigationHdl), pbNext, true);
+        Application::PostUserEvent(LINK(pView, SwView, MoveNavigationHdl), pbNext);
     }
     else if (sCommand == "root")
     {
commit 98fd6fa45f48599ee59d8d3f43b26bbde94e67c0
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Nov 10 16:03:16 2016 +0000

    micro opt
    
    Change-Id: I4ef86a56780cf9ea8fe244a5347a79099bc05979

diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx
index 5d5e021..6ef4408 100644
--- a/sw/source/uibase/utlui/navipi.cxx
+++ b/sw/source/uibase/utlui/navipi.cxx
@@ -233,7 +233,7 @@ IMPL_LINK( SwNavigationPI, ToolBoxSelectHdl, ToolBox *, pBox, void )
         bool* pbNext = new bool(false);
         Application::PostUserEvent(LINK(pView, SwView, MoveNavigationHdl), pbNext, true);
     }
-    if (sCommand == "forward")
+    else if (sCommand == "forward")
     {
         // #i75416# move the execution of the search to an asynchronously called static link
         bool* pbNext = new bool(true);


More information about the Libreoffice-commits mailing list