summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpfribtable.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-09 16:41:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-09 16:41:40 +0000
commit0cde3ca230364492aa6b7f634b97178164268728 (patch)
tree4838c47453cb62f497614b3f1e360395572374d2 /lotuswordpro/source/filter/lwpfribtable.cxx
parenttdf#96317: Add API for copy/paste from/to the widget (diff)
downloadcore-0cde3ca230364492aa6b7f634b97178164268728.tar.gz
core-0cde3ca230364492aa6b7f634b97178164268728.zip
guard against missing SuperTable
Change-Id: Ic7cc6c807905e0c4ffbf2a3f009b27be6100cdf0
Diffstat (limited to 'lotuswordpro/source/filter/lwpfribtable.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpfribtable.cxx4
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())
{