summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-19 12:34:34 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-19 12:54:24 +0000
commit8f3c796ecf926f81f6229fbb040095286c8adbfe (patch)
treeee25cdf26ec9de71a826b618ca466db1b4eef932 /lotuswordpro
parentd14b4a6b874e46fbb1434e523a1ffd993e5c9d44 (diff)
coverity#1343623 Logically dead code
Change-Id: Ibcf05263f7bea50f70d55f4d8944d0a41d54851d
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/xfilter/xfcell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfcell.cxx b/lotuswordpro/source/filter/xfilter/xfcell.cxx
index 94c696f9f65e..2a81548eda6b 100644
--- a/lotuswordpro/source/filter/xfilter/xfcell.cxx
+++ b/lotuswordpro/source/filter/xfilter/xfcell.cxx
@@ -99,7 +99,7 @@ void XFCell::Add(XFContent *pContent)
}
if( pContent->GetContentType() == enumXFContentTable )
{
- XFTable *pTable = static_cast<XFTable*>(pContent);
+ XFTable *pTable = dynamic_cast<XFTable*>(pContent);
if( !pTable )
return;
//the sub table will fill all the cell, there can't be other contents.