Kaydet (Commit) 9ecd848d authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1325254 Unchecked dynamic_cast

Change-Id: I75f9f4cb4f32ae1836e1e6287fa5fce1aa83bdf5
üst 6f1e77fc
...@@ -164,7 +164,7 @@ Reference < drawing::XShape > XMLTextFrameHyperlinkContext::GetShape() const ...@@ -164,7 +164,7 @@ Reference < drawing::XShape > XMLTextFrameHyperlinkContext::GetShape() const
if( xFrameContext.Is() ) if( xFrameContext.Is() )
{ {
SvXMLImportContext *pContext = &xFrameContext; SvXMLImportContext *pContext = &xFrameContext;
xShape = dynamic_cast<XMLTextFrameContext*>( pContext )->GetShape( ); xShape = dynamic_cast<XMLTextFrameContext&>(*pContext).GetShape();
} }
return xShape; return xShape;
......
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