From c1afea83925e2830392fef18402120a0a76f278f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 9 Dec 2015 12:23:11 +0000 Subject: protect against missing SuperTable Change-Id: I788ec28424bb638f727901b7d25e48a284ab67d0 (cherry picked from commit 356109d4ead137ea22b358b20ed22a4bd09d35f6) Reviewed-on: https://gerrit.libreoffice.org/20508 Reviewed-by: David Tardon Tested-by: David Tardon (cherry picked from commit dbb30e5ab13e75fb187431e3678b70dd9830594a) --- lotuswordpro/source/filter/lwpfribtable.cxx | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit