coverity#736139 Dereference null return value
Change-Id: Ibb178c04119373ad848745fe91fea70cbbb0e8a5
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user