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

coverity#1343624 Unchecked dynamic_cast

Change-Id: Ia303a5dc97fb5e491e86a3484040e657f1b480d4
üst 8f3c796e
......@@ -395,12 +395,13 @@ void LwpMasterPage::ParseSection(LwpFrib* pFrib)
pCurrContainer->RemoveLastContent();
}
}
if (pStory)
pStory->AddXFContent( pContent );
}
else
{
LwpStory* pStory = dynamic_cast<LwpStory*> ( m_pPara->GetStoryID().obj().get() );
pContent = pStory->GetXFContent();
pContent = pStory ? pStory->GetXFContent() : nullptr;
}
if(pContent)
{
......
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