coverity#735442 Logically dead code
Change-Id: I8e182a18e70f230e67f2f452bbfca442e5585212
This commit is contained in:
parent
9656d6c488
commit
6d462764cf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue