coverity#1038298 Unchecked dynamic_cast
Change-Id: Ibb2eca48edb30a88b1ab4bcc35e7e5852efbb436
This commit is contained in:
@@ -1870,9 +1870,9 @@ void SwAccessibleParagraph::_getDefaultAttributesImpl(
|
||||
break;
|
||||
}
|
||||
|
||||
if ( dynamic_cast<const SwFlyFrm*>(pUpperFrm) )
|
||||
if ( const SwFlyFrm* pFlyFrm = dynamic_cast<const SwFlyFrm*>(pUpperFrm) )
|
||||
{
|
||||
pUpperFrm = dynamic_cast<const SwFlyFrm*>(pUpperFrm)->GetAnchorFrm();
|
||||
pUpperFrm = pFlyFrm->GetAnchorFrm();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user