[Libreoffice-commits] core.git: sfx2/source
Mike Kaganski
mike.kaganski at collabora.com
Sat May 26 08:00:54 UTC 2018
sfx2/source/control/bindings.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 08a2f9bf8982f6b50e03d80fa631cc28f3a2c96b
Author: Mike Kaganski <mike.kaganski at collabora.com>
Date: Sat May 26 07:52:11 2018 +0100
Reuse existing variable
Change-Id: I8048b21de3a6cc7e027ad0123d1ef8aab32366dc
Reviewed-on: https://gerrit.libreoffice.org/54829
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx
index 74e414a1807b..f6454d2a31f3 100644
--- a/sfx2/source/control/bindings.cxx
+++ b/sfx2/source/control/bindings.cxx
@@ -278,7 +278,7 @@ void SfxBindings::Update_Impl(SfxStateCache& rCache /*The up to date SfxStatusCa
SfxItemState eState = pSet->GetItemState(nWhich, true, &pItem);
if ( eState == SfxItemState::DEFAULT && SfxItemPool::IsWhich(nWhich) )
pItem = &pSet->Get(nWhich);
- UpdateControllers_Impl( aFound[nPos], pItem, eState );
+ UpdateControllers_Impl( rFound, pItem, eState );
}
bUpdated = true;
}
More information about the Libreoffice-commits
mailing list