Kaydet (Commit) 08a2f9bf authored tarafından Mike Kaganski's avatar Mike Kaganski

Reuse existing variable

Change-Id: I8048b21de3a6cc7e027ad0123d1ef8aab32366dc
Reviewed-on: https://gerrit.libreoffice.org/54829Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst 27cc0064
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment