[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - lotuswordpro/source

Caolán McNamara caolanm at redhat.com
Wed Dec 9 04:25:44 PST 2015


 lotuswordpro/source/filter/lwpfribtable.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 071d2ad0291ec0fc0fbf2f9c864e3b6a30a61586
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Dec 9 12:23:11 2015 +0000

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/lotuswordpro/source/filter/lwpfribtable.cxx b/lotuswordpro/source/filter/lwpfribtable.cxx
index d5f8159..9c93c26 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)


More information about the Libreoffice-commits mailing list