summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-06 21:00:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-06 21:28:28 +0100
commit8a0230e78ce2a752749b62f0761849a72b367551 (patch)
tree0aaca51118214d19111396cf60d6bcfbf3d69514 /lotuswordpro
parent6d462764cff1e41114599c51eea7fa6e53489e59 (diff)
coverity#735444 Logically dead code
Change-Id: I32b6475812be6dfd9912f7fc6646b349cdbfbbe1
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/xfilter/xftextstyle.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xftextstyle.cxx b/lotuswordpro/source/filter/xfilter/xftextstyle.cxx
index cf4f6cc86527..644a3226e645 100644
--- a/lotuswordpro/source/filter/xfilter/xftextstyle.cxx
+++ b/lotuswordpro/source/filter/xfilter/xftextstyle.cxx
@@ -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;