From dd43c614980ed330936df1abcc484452e1c71a09 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 12 Dec 2015 23:15:59 +0000 Subject: guard against missing Container Layout Change-Id: Id9525918eab822b39576a1efce7dc3a3bd93e78d --- lotuswordpro/source/filter/lwptablelayout.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lotuswordpro/source') diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx index 829501a3010d..902795cf1191 100644 --- a/lotuswordpro/source/filter/lwptablelayout.cxx +++ b/lotuswordpro/source/filter/lwptablelayout.cxx @@ -352,7 +352,7 @@ void LwpSuperTableLayout::ApplyAlignment(XFTableStyle * pTableStyle) void LwpSuperTableLayout::XFConvert(XFContentContainer* pCont) { if ( LwpLayoutRelativityGuts::LAY_INLINE_NEWLINE == GetRelativeType() - && !GetContainerLayout()->IsCell()) + && (!GetContainerLayout() || !GetContainerLayout()->IsCell()) ) { LwpTableLayout * pTableLayout = GetTableLayout(); if (pTableLayout) -- cgit