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:
Mike Kaganski
2018-05-26 10:00:34 +02:00
parent 27cc0064a8
commit 08a2f9bf89
+1 -1
View File
@@ -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;
}