coverity#735760 Unchecked dynamic_cast
Change-Id: I0ef7b6a35fe5f23a2572e6a6746fe39567d33079
This commit is contained in:
@@ -491,6 +491,8 @@ OUString LwpStory::GetContentText(sal_Bool bAllText)
|
||||
OUString LwpStory::RegisterFirstFribStyle()
|
||||
{
|
||||
LwpPara* pPara = dynamic_cast<LwpPara*>(GetFirstPara()->obj());
|
||||
if (!pPara)
|
||||
return OUString("");
|
||||
pPara->SetFoundry(m_pFoundry);
|
||||
LwpFribPtr* pFribs = pPara->GetFribs();
|
||||
if (pFribs)
|
||||
|
Reference in New Issue
Block a user