Kaydet (Commit) 4d21f86a authored tarafından Caolán McNamara's avatar Caolán McNamara

guard against missing SuperTable

Change-Id: Ic7cc6c807905e0c4ffbf2a3f009b27be6100cdf0
(cherry picked from commit 0cde3ca2)
Reviewed-on: https://gerrit.libreoffice.org/20540Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 9c01ac05
...@@ -77,7 +77,9 @@ LwpSuperTableLayout* LwpFribTable::GetSuperTable() ...@@ -77,7 +77,9 @@ LwpSuperTableLayout* LwpFribTable::GetSuperTable()
void LwpFribTable::RegisterNewStyle() void LwpFribTable::RegisterNewStyle()
{ {
GetSuperTable()->RegisterNewStyle(); LwpSuperTableLayout* pSuper = GetSuperTable();
if (pSuper)
pSuper->RegisterNewStyle();
XFParaStyle* pOldStyle = m_pPara->GetXFParaStyle(); XFParaStyle* pOldStyle = m_pPara->GetXFParaStyle();
if(HasNextFrib()) if(HasNextFrib())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment