diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-06 20:58:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-06 21:28:28 +0100 |
commit | 9656d6c488a0df551a3c9aab4fea23a3b23a97c0 (patch) | |
tree | 6c38524a80feda2449daf1544e49a0299dd7600a /lotuswordpro | |
parent | 05aa604f029a4d09c4991c04b7bd90165dd759cf (diff) |
coverity#735441 Logically dead code
Change-Id: I790904fb030d2bfc96cd967b2b4b449e62f8c536
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfcellstyle.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfcellstyle.cxx b/lotuswordpro/source/filter/xfilter/xfcellstyle.cxx index 42bf24512ffa..b0d4881162b0 100644 --- a/lotuswordpro/source/filter/xfilter/xfcellstyle.cxx +++ b/lotuswordpro/source/filter/xfilter/xfcellstyle.cxx @@ -124,7 +124,7 @@ bool XFCellStyle::Equal(IXFStyle *pStyle) if( !pStyle || pStyle->GetStyleFamily() != enumXFStyleTableCell ) return false; - XFCellStyle *pOther = static_cast<XFCellStyle*>(pStyle); + XFCellStyle *pOther = dynamic_cast<XFCellStyle*>(pStyle); if( !pOther ) return false; |