diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-09 12:23:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-09 12:23:24 +0000 |
commit | 356109d4ead137ea22b358b20ed22a4bd09d35f6 (patch) | |
tree | b27515bf1e12480a9655dbe70765a3f966f5c308 /lotuswordpro | |
parent | 880aa61cf4eba37b46de5388129a93ebc0e1e1d3 (diff) |
protect against missing SuperTable
Change-Id: I788ec28424bb638f727901b7d25e48a284ab67d0
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpfribtable.cxx | 2 |
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) |