coverity#1202822 Dereference null return value
Change-Id: I8630bfa0c4c557ab14c3b7448b6281072eebec8a
This commit is contained in:
@@ -2256,9 +2256,12 @@ bool SwCrsrShell::SelectNxtPrvHyperlink( bool bNext )
|
||||
else if( RES_DRAWFRMFMT == pFndFmt->Which() )
|
||||
{
|
||||
const SdrObject* pSObj = pFndFmt->FindSdrObject();
|
||||
((SwFEShell*)this)->SelectObj( pSObj->GetCurrentBoundRect().Center() );
|
||||
MakeSelVisible();
|
||||
bRet = true;
|
||||
if (pSObj)
|
||||
{
|
||||
((SwFEShell*)this)->SelectObj( pSObj->GetCurrentBoundRect().Center() );
|
||||
MakeSelVisible();
|
||||
bRet = true;
|
||||
}
|
||||
}
|
||||
else // then is it a fly
|
||||
{
|
||||
|
Reference in New Issue
Block a user