summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}