diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-06 20:59:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-06 21:28:28 +0100 |
commit | 6d462764cff1e41114599c51eea7fa6e53489e59 (patch) | |
tree | 1a31f04c6cbbce2ddcd74681ec694b869ab67071 /lotuswordpro/source | |
parent | 9656d6c488a0df551a3c9aab4fea23a3b23a97c0 (diff) |
coverity#735442 Logically dead code
Change-Id: I8e182a18e70f230e67f2f452bbfca442e5585212
Diffstat (limited to 'lotuswordpro/source')
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfnumberstyle.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfnumberstyle.cxx b/lotuswordpro/source/filter/xfilter/xfnumberstyle.cxx index fd97d5ca918b..7a96d6f22059 100644 --- a/lotuswordpro/source/filter/xfilter/xfnumberstyle.cxx +++ b/lotuswordpro/source/filter/xfilter/xfnumberstyle.cxx @@ -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; |