summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/xfilter/xfcellstyle.cxx2
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;