diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-09 16:41:26 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-09 16:41:40 +0000 |
commit | 0cde3ca230364492aa6b7f634b97178164268728 (patch) | |
tree | 4838c47453cb62f497614b3f1e360395572374d2 /lotuswordpro | |
parent | 7d7fad258dfde500c5ee99b5f1691172724383bd (diff) |
guard against missing SuperTable
Change-Id: Ic7cc6c807905e0c4ffbf2a3f009b27be6100cdf0
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpfribtable.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpfribtable.cxx b/lotuswordpro/source/filter/lwpfribtable.cxx index 9c93c269b7d6..7833ae4477a5 100644 --- a/lotuswordpro/source/filter/lwpfribtable.cxx +++ b/lotuswordpro/source/filter/lwpfribtable.cxx @@ -77,7 +77,9 @@ LwpSuperTableLayout* LwpFribTable::GetSuperTable() void LwpFribTable::RegisterNewStyle() { - GetSuperTable()->RegisterNewStyle(); + LwpSuperTableLayout* pSuper = GetSuperTable(); + if (pSuper) + pSuper->RegisterNewStyle(); XFParaStyle* pOldStyle = m_pPara->GetXFParaStyle(); if(HasNextFrib()) { |