summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-09 12:23:11 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-09 12:23:24 +0000
commit356109d4ead137ea22b358b20ed22a4bd09d35f6 (patch)
treeb27515bf1e12480a9655dbe70765a3f966f5c308 /lotuswordpro
parent880aa61cf4eba37b46de5388129a93ebc0e1e1d3 (diff)
protect against missing SuperTable
Change-Id: I788ec28424bb638f727901b7d25e48a284ab67d0
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 d5f8159aa942..9c93c269b7d6 100644
--- a/lotuswordpro/source/filter/lwpfribtable.cxx
+++ b/lotuswordpro/source/filter/lwpfribtable.cxx
@@ -97,6 +97,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)