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

New commits:
commit bed4c2acfabb44c8a47e3bbcbe3ec72c39d817cc
Author: Stephan Bergmann <[email protected]>
Date:   Wed Mar 8 20:27:02 2017 +0100

    Simplify GetStateCache call
    
    Change-Id: I527d8112f7cf0e4fbc6380484be0c6704f3dfdd4

diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx
index 4e4882a..135f6ac 100644
--- a/sfx2/source/control/bindings.cxx
+++ b/sfx2/source/control/bindings.cxx
@@ -779,8 +779,7 @@ void SfxBindings::Invalidate
 
 bool SfxBindings::IsBound( sal_uInt16 nSlotId )
 {
-    sal_uInt16 nStartSearchAt = 0;
-    return GetStateCache(nSlotId, &nStartSearchAt ) != nullptr;
+    return GetStateCache(nSlotId) != nullptr;
 }
 
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to