diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-09 12:23:11 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-12-10 10:23:23 +0000 |
commit | a579905319455629975c739885e9cc4ca69ba229 (patch) | |
tree | 92330895ecdc1fb64627b18a2d88031f62704102 /lotuswordpro | |
parent | 19e7ddab12098e9352fab9062b011d3b53e4a2ca (diff) |
protect against missing SuperTable
Change-Id: I788ec28424bb638f727901b7d25e48a284ab67d0
(cherry picked from commit 356109d4ead137ea22b358b20ed22a4bd09d35f6)
Reviewed-on: https://gerrit.libreoffice.org/20509
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Reviewed-by: Michael Meeks <michael.meeks@collabora.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 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) |