diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-03 11:55:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-03 12:49:40 +0100 |
commit | 50a402b3c2a6e64b1f7197580332e0e4e4c68d0d (patch) | |
tree | 4b9eb37b7c188cffaeaf4da85410fd385209e2a8 | |
parent | 9e67e4b8d615563ea02fe6b0520d48879ba272e6 (diff) |
coverity#708816 Unused pointer value
Change-Id: I2ea7d4a8b142d67afa43ce165b51d81f65d251de
-rw-r--r-- | sfx2/source/control/bindings.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx index 8b1175375a4f..afa3d1cd7a84 100644 --- a/sfx2/source/control/bindings.cxx +++ b/sfx2/source/control/bindings.cxx @@ -1318,13 +1318,6 @@ SfxItemSet* SfxBindings::CreateSet_Impl pRealSlot->GetSlotId(), pRealSlot->GetWhich(rPool), pRealSlot, pCache ); rFound.push_back( pFound ); - sal_uInt16 nSlot = pRealSlot->GetSlotId(); - if ( !(nSlot >= SID_VERB_START && nSlot <= SID_VERB_END) ) - { - pInterface = pInterface->GetRealInterfaceForSlot( pRealSlot ); - DBG_ASSERT (pInterface,"Slot in the given shell is not found"); - } - // Search through the bindings for slots served by the same function. This , // will only affect slots which are present in the found interface. // The position of the Statecaches in StateCache-Array |