diff options
Diffstat (limited to 'lotuswordpro/source/filter/lwptable.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwptable.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwptable.cxx b/lotuswordpro/source/filter/lwptable.cxx index 0584769c8e97..9e6c54b3f82a 100644 --- a/lotuswordpro/source/filter/lwptable.cxx +++ b/lotuswordpro/source/filter/lwptable.cxx @@ -135,9 +135,9 @@ void LwpTable::Parse(IXFStream* /*pOutputStream*/) LwpSuperTableLayout* LwpTable::GetSuperTableLayout() { - LwpTableLayout* pLayout = static_cast<LwpTableLayout*>(m_Layout.obj()); + LwpTableLayout* pLayout = dynamic_cast<LwpTableLayout*>(m_Layout.obj()); if(pLayout) - return static_cast<LwpSuperTableLayout*>(pLayout->GetParent()->obj()); + return dynamic_cast<LwpSuperTableLayout*>(pLayout->GetParent()->obj()); return NULL; } |