diff options
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfcell.cxx | 2 |
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. |