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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Oct 16 19:38:24 UTC 2018


 sfx2/source/control/dispatch.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c3bb8a447199f1d65dc3f38cc00658d60813cf00
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Tue Oct 16 20:40:14 2018 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Oct 16 21:37:39 2018 +0200

    Fix build in sfx2
    
    Failing build due to 27dadc070ec2c2a602d3c5b3494dd0bdc15c785f
    
    Change-Id: I34aa67185e7889fd4ee1781b9a45c9a202e76954
    Reviewed-on: https://gerrit.libreoffice.org/61846
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index cf1cd460020a..0d2b41fcecd2 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -1145,7 +1145,7 @@ void SfxDispatcher::Update_Impl( bool bForce )
     {
         SfxWorkWindow *pWork = xImp->pFrame->GetFrame().GetWorkWindow_Impl();
         SfxDispatcher *pAct = pWork->GetBindings().GetDispatcher_Impl();
-        if ( pAct == this || pAct == this )
+        if (pAct == this)
         {
             if ( !bUpdate )
                 bUpdate = !xImp->bUpdated;
@@ -1198,7 +1198,7 @@ void SfxDispatcher::Update_Impl( bool bForce )
     {
         SfxWorkWindow *pWork = xImp->pFrame->GetFrame().GetWorkWindow_Impl();
         SfxDispatcher *pAct = pWork->GetBindings().GetDispatcher_Impl();
-        if ( pAct == this || pAct == this )
+        if (pAct == this)
         {
             pWork->ResetObjectBars_Impl();
             pWork->ResetChildWindows_Impl();


More information about the Libreoffice-commits mailing list