diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-10-16 20:40:14 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-10-16 21:37:39 +0200 |
commit | c3bb8a447199f1d65dc3f38cc00658d60813cf00 (patch) | |
tree | 9ed98f8a764a9a6e5bfde9ede2cb9553e9b5ab2a | |
parent | e57ab1b338af12a85166859b9f5e5b958300f867 (diff) |
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@yahoo.fr>
-rw-r--r-- | sfx2/source/control/dispatch.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |