sfx2/source/control/dispatch.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit c3bb8a447199f1d65dc3f38cc00658d60813cf00 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Tue Oct 16 20:40:14 2018 +0200 Commit: Julien Nabet <serval2...@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 <serval2...@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(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits