Kaydet (Commit) 8a0230e7 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735444 Logically dead code

Change-Id: I32b6475812be6dfd9912f7fc6646b349cdbfbbe1
üst 6d462764
......@@ -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;
......
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