Kaydet (Commit) 7096a32e authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#704791 Dereference after null check

Change-Id: I7e973ac9b91ab112952f56ce290c07c9fc5670b2
üst ceebfc04
......@@ -481,7 +481,7 @@ void SfxBindings::Update
if ( bInternalUpdate )
{
// Query Status
const SfxSlotServer* pMsgServer = pCache->GetSlotServer(*pDispatcher, pImp->xProv);
const SfxSlotServer* pMsgServer = pDispatcher ? pCache->GetSlotServer(*pDispatcher, pImp->xProv) : NULL;
if ( !pCache->IsControllerDirty() &&
( !pMsgServer ||
!pMsgServer->GetSlot()->IsMode(SFX_SLOT_VOLATILE) ) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment