summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-09 12:23:11 +0000
committerAndras Timar <andras.timar@collabora.com>2015-12-10 16:14:30 +0100
commitc1afea83925e2830392fef18402120a0a76f278f (patch)
treede9da27d19e11bec145faf17254ee58a13207e16 /lotuswordpro
parent0bb9a0dfd2d0d3041fb6cb058a12ba770e8ed225 (diff)
protect against missing SuperTable
Change-Id: I788ec28424bb638f727901b7d25e48a284ab67d0 (cherry picked from commit 356109d4ead137ea22b358b20ed22a4bd09d35f6) Reviewed-on: https://gerrit.libreoffice.org/20508 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com> (cherry picked from commit dbb30e5ab13e75fb187431e3678b70dd9830594a)
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpfribtable.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/lotuswordpro/source/filter/lwpfribtable.cxx b/lotuswordpro/source/filter/lwpfribtable.cxx
index edd73dae7e7d..4adb3ac2cf93 100644
--- a/lotuswordpro/source/filter/lwpfribtable.cxx
+++ b/lotuswordpro/source/filter/lwpfribtable.cxx
@@ -98,6 +98,8 @@ void LwpFribTable::XFConvert(XFContentContainer* pCont)
{
XFContentContainer* pXFContentContainer = pCont;
LwpSuperTableLayout* pSuper = GetSuperTable();
+ if (!pSuper)
+ return;
sal_uInt8 nType = pSuper->GetRelativeType();
LwpVirtualLayout* pContainer = pSuper->GetContainerLayout();
if (!pContainer)