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:25:20 +0000 |
commit | 071d2ad0291ec0fc0fbf2f9c864e3b6a30a61586 (patch) | |
tree | d2edd36e188bfa1a4e2fe716d1672aacff983f03 /lotuswordpro | |
parent | dabfa0ce06f605fd0e8de32774b6385fd6ffbd56 (diff) |
protect against missing SuperTable
Change-Id: I788ec28424bb638f727901b7d25e48a284ab67d0
(cherry picked from commit 356109d4ead137ea22b358b20ed22a4bd09d35f6)
Reviewed-on: https://gerrit.libreoffice.org/20507
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
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) |