coverity#735444 Logically dead code
Change-Id: I32b6475812be6dfd9912f7fc6646b349cdbfbbe1
This commit is contained in:
parent
6d462764cf
commit
8a0230e78c
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ bool XFTextStyle::Equal(IXFStyle *pStyle)
|
|||
return false;
|
||||
}
|
||||
|
||||
XFTextStyle *pOther = (XFTextStyle*)pStyle;
|
||||
XFTextStyle *pOther = dynamic_cast<XFTextStyle*>(pStyle);
|
||||
if( !pOther )
|
||||
{
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue