[Libreoffice-commits] core.git: sfx2/source

Stephan Bergmann sbergman at redhat.com
Wed Mar 8 19:27:51 UTC 2017


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

New commits:
commit bed4c2acfabb44c8a47e3bbcbe3ec72c39d817cc
Author: Stephan Bergmann <sbergman at redhat.com>
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;
 }
 
 


More information about the Libreoffice-commits mailing list