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:43:03 +0000 |
commit | 4d21f86a27f5e1d1b61d2ed468409dc7f3a359d7 (patch) | |
tree | 56b4af58121f70ca20c68fb528928590a33c8fb5 | |
parent | 9c01ac05618875e812c9f6a18edf5cc6a7909b5e (diff) |
guard against missing SuperTable
Change-Id: Ic7cc6c807905e0c4ffbf2a3f009b27be6100cdf0
(cherry picked from commit 0cde3ca230364492aa6b7f634b97178164268728)
Reviewed-on: https://gerrit.libreoffice.org/20540
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-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()) { |