summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-08 20:27:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-08 20:27:23 +0100
commitbed4c2acfabb44c8a47e3bbcbe3ec72c39d817cc (patch)
treedc5bcaf80d21fba220abc14837ca9cfb65fe7b1a /sfx2
parentb3dc0386bd0749ad93f5cd649176e028fe4e8360 (diff)
Simplify GetStateCache call
Change-Id: I527d8112f7cf0e4fbc6380484be0c6704f3dfdd4
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/bindings.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx
index 4e4882a03501..135f6ac9578a 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;
}