sfx2/source/control/bindings.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 08a2f9bf8982f6b50e03d80fa631cc28f3a2c96b
Author: Mike Kaganski <mike.kagan...@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 <c...@libreoffice.org>
    Reviewed-by: Mike Kaganski <mike.kagan...@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;
         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to