summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-10 21:28:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-10 21:32:50 +0000
commit0c3d0311c16e9898b417b758f8b151c0ab10463e (patch)
tree0f7d950ca15c98585d216f279e79cee5434590c4
parent1d88fa76834fc1fb04a285f77e8245a44c9091e8 (diff)
need a dynamic cast here
53rd and final distinct crash fix of this sequence Change-Id: Id170132c2082fd4905192adc840125088ef5da27 (cherry picked from commit 3735b05668ffcaa37fcecf2907478616db52f2b4)
-rw-r--r--lotuswordpro/source/filter/lwpfnlayout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpfnlayout.cxx b/lotuswordpro/source/filter/lwpfnlayout.cxx
index 7707eef3afa1..3ba3795d05e7 100644
--- a/lotuswordpro/source/filter/lwpfnlayout.cxx
+++ b/lotuswordpro/source/filter/lwpfnlayout.cxx
@@ -258,7 +258,7 @@ void LwpEnSuperTableLayout::XFConvert(XFContentContainer * /*pCont*/)
while(!rID.IsNull())
{
- LwpVirtualLayout * pLayout = static_cast<LwpVirtualLayout *>(rID.obj().get());
+ LwpVirtualLayout * pLayout = dynamic_cast<LwpVirtualLayout*>(rID.obj().get());
if(!pLayout)
{
break;