coverity#1325252 Unchecked dynamic_cast
Change-Id: I70b4c9f705d3da294e3b93f2834db5add9198ec9
This commit is contained in:
@@ -138,7 +138,7 @@ TextContentAnchorType XMLTextFrameHyperlinkContext::GetAnchorType() const
|
||||
if( xFrameContext.Is() )
|
||||
{
|
||||
SvXMLImportContext *pContext = &xFrameContext;
|
||||
return dynamic_cast<XMLTextFrameContext*>( pContext ) ->GetAnchorType( );
|
||||
return dynamic_cast<XMLTextFrameContext&>(*pContext).GetAnchorType();
|
||||
}
|
||||
else
|
||||
return eDefaultAnchorType;
|
||||
|
Reference in New Issue
Block a user