diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-12 23:15:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-12 23:17:02 +0000 |
commit | 135faa879948ee06c13eb7eb213bc6b2ef41c9ab (patch) | |
tree | d3663204a810349a71e8b48b0fb7796b1f7b9ffe /lotuswordpro | |
parent | 8275de573e7298e5af0a67219af55755eb198e31 (diff) |
guard against missing Container Layout
Change-Id: Id9525918eab822b39576a1efce7dc3a3bd93e78d
(cherry picked from commit dd43c614980ed330936df1abcc484452e1c71a09)
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwptablelayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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) |