diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-04-11 21:19:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-04-11 21:41:57 +0100 |
commit | d2a1c2d4cfa51b6ee8a7f38baa258633fae9ec6d (patch) | |
tree | ab712bc1a814bfc15def9990df0896436f346628 /lotuswordpro/source/filter/lwptable.cxx | |
parent | 538dbe8245fc4644e1868a7df2ba788bcd08caf4 (diff) |
fix what there is to fix
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; } |