[Libreoffice-commits] core.git: Branch 'libreoffice-5-0-4' - lotuswordpro/source
Caolán McNamara
caolanm at redhat.com
Thu Dec 10 07:24:44 PST 2015
lotuswordpro/source/filter/lwpfribtable.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 6799aa79069f2367c2b84160b9e17646da52fc2f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Dec 9 16:41:26 2015 +0000
guard against missing SuperTable
Change-Id: Ic7cc6c807905e0c4ffbf2a3f009b27be6100cdf0
(cherry picked from commit 0cde3ca230364492aa6b7f634b97178164268728)
Reviewed-on: https://gerrit.libreoffice.org/20542
Reviewed-by: David Tardon <dtardon at redhat.com>
Tested-by: David Tardon <dtardon at redhat.com>
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Reviewed-by: Michael Stahl <mstahl at redhat.com>
diff --git a/lotuswordpro/source/filter/lwpfribtable.cxx b/lotuswordpro/source/filter/lwpfribtable.cxx
index 4adb3ac..86c70ea 100644
--- a/lotuswordpro/source/filter/lwpfribtable.cxx
+++ b/lotuswordpro/source/filter/lwpfribtable.cxx
@@ -78,7 +78,9 @@ LwpSuperTableLayout* LwpFribTable::GetSuperTable()
void LwpFribTable::RegisterNewStyle()
{
- GetSuperTable()->RegisterNewStyle();
+ LwpSuperTableLayout* pSuper = GetSuperTable();
+ if (pSuper)
+ pSuper->RegisterNewStyle();
XFParaStyle* pOldStyle = m_pPara->GetXFParaStyle();
if(HasNextFrib())
{
More information about the Libreoffice-commits
mailing list