diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-05-26 07:52:11 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-05-26 10:00:34 +0200 |
commit | 08a2f9bf8982f6b50e03d80fa631cc28f3a2c96b (patch) | |
tree | 67fdfc0c99f25532f62631746535c358b2a8133d /sfx2 | |
parent | 27cc0064a8a52c9000d0249581e80fe7a0c8a7b6 (diff) |
Reuse existing variable
Change-Id: I8048b21de3a6cc7e027ad0123d1ef8aab32366dc
Reviewed-on: https://gerrit.libreoffice.org/54829
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/bindings.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |