summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-10 10:06:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-10 10:06:58 +0000
commitc732a1ae8cc0cc94bfeddba243657a0b9e52a0f9 (patch)
tree7b0a1a3388a025ea989172ad6484a02104a58226 /lotuswordpro
parentfbd329800340a496def839181858964b1e3709a5 (diff)
guard against missing table container
Change-Id: I11f6381374c7fc12374cd5089e581ddc777005e2
Diffstat (limited to 'lotuswordpro')
-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 469555f78de5..0a2f789777fe 100644
--- a/lotuswordpro/source/filter/lwptablelayout.cxx
+++ b/lotuswordpro/source/filter/lwptablelayout.cxx
@@ -716,7 +716,7 @@ void LwpTableLayout::RegisterStyle()
// If the table is not "with paragraph above" placement, create an frame style
// by supertable layout
if ( LwpLayoutRelativityGuts::LAY_INLINE_NEWLINE == nType
- && !pSuper->GetContainerLayout()->IsCell())
+ && (!pSuper->GetContainerLayout() || !pSuper->GetContainerLayout()->IsCell()) )
{
//with para above
// pSuper->ApplyBackColor(pTableStyle);