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

coverity#1209712 Dereference null return value

Change-Id: I9ef54e4086e1b441e1bd5ccbebcd512d3a01bb47
üst 3c56e268
......@@ -3646,7 +3646,10 @@ sal_uInt16 PopupMenu::ImplExecute( Window* pW, const Rectangle& rRect, sal_uLong
size_t nPos = 0;
pData = pItemList->GetData( pData->nId, nPos );
assert(pData);
pData->bIsTemporary = true;
if (pData)
{
pData->bIsTemporary = true;
}
ImplCallEventListeners(VCLEVENT_MENU_SUBMENUCHANGED, nPos);
}
}
......
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