summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2018-10-16 20:40:14 +0200
committerJulien Nabet <serval2412@yahoo.fr>2018-10-16 21:37:39 +0200
commitc3bb8a447199f1d65dc3f38cc00658d60813cf00 (patch)
tree9ed98f8a764a9a6e5bfde9ede2cb9553e9b5ab2a /sfx2
parente57ab1b338af12a85166859b9f5e5b958300f867 (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>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/dispatch.cxx4
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();