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

coverity#736139 Dereference null return value

Change-Id: Ibb178c04119373ad848745fe91fea70cbbb0e8a5
üst f7d3344f
......@@ -373,8 +373,12 @@ IMPL_LINK( SvBaseLinksDlg, ChangeSourceClickHdl, PushButton *, pPushButton )
Links().FirstSelected() :
Links().NextSelected( pEntry );
DBG_ASSERT(pEntry,"Where is the entry?");
if (!pEntry)
continue;
pLink = (SvBaseLink*)pEntry->GetUserData();
DBG_ASSERT(pLink,"Where is the link?");
if (!pLink)
continue;
pLinkMgr->GetDisplayNames( pLink, &sType, &sFile, &sLinkName, &sFilter );
INetURLObject aUrl_(sFile);
INetURLObject aUrl2(aPath, INET_PROT_FILE);
......
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