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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user