summaryrefslogtreecommitdiff
path: root/lotuswordpro/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-12 23:15:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-12 23:16:17 +0000
commitdd43c614980ed330936df1abcc484452e1c71a09 (patch)
tree27a821551de5499c11133981c49c0203809e3bd2 /lotuswordpro/source
parentded7c4ba3212b65fcc63c0d0a4bb1e725a6e0465 (diff)
guard against missing Container Layout
Change-Id: Id9525918eab822b39576a1efce7dc3a3bd93e78d
Diffstat (limited to 'lotuswordpro/source')
-rw-r--r--lotuswordpro/source/filter/lwptablelayout.cxx2
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)