Kaydet (Commit) 6d462764 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735442 Logically dead code

Change-Id: I8e182a18e70f230e67f2f452bbfca442e5585212
üst 9656d6c4
......@@ -79,7 +79,7 @@ bool XFNumberStyle::Equal(IXFStyle *pStyle)
{
if( !pStyle || pStyle->GetStyleFamily() != enumXFStyleNumber )
return false;
XFNumberStyle *pOther = (XFNumberStyle*)pStyle;
XFNumberStyle *pOther = dynamic_cast<XFNumberStyle*>(pStyle);
if( !pOther )
return false;
......
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