summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-12 20:46:38 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-12 20:47:39 +0000
commit57e86b666f0f596dfb8a9a4c0c3adb5910a4b9bf (patch)
tree6024cb0c7205c83c938f1dcb1e28a06830a171d7 /lotuswordpro
parent363af22d7a455381fa21bc04037c646052df077c (diff)
guard against missing m_pXFContainer
Change-Id: I5c0800c353b46ea1fe359a893bdd8215f70cd809 (cherry picked from commit 13eaf4dad1324b4f2d909424b2bf06f75102f01f)
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwppara.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx
index 327e016536bd..29c8fe0fb8d2 100644
--- a/lotuswordpro/source/filter/lwppara.cxx
+++ b/lotuswordpro/source/filter/lwppara.cxx
@@ -283,7 +283,7 @@ void LwpPara::XFConvert(XFContentContainer* pCont)
m_pXFContainer = pSection;
}
- if (m_bHasBullet && m_pSilverBullet)
+ if (m_bHasBullet && m_pSilverBullet)
{
XFContentContainer* pListItem = AddBulletList(m_pXFContainer);
if (pListItem)
@@ -291,7 +291,7 @@ void LwpPara::XFConvert(XFContentContainer* pCont)
pListItem->Add(pPara);
}
}
- else
+ else if (m_pXFContainer)
{
LwpBulletStyleMgr* pBulletStyleMgr = this->GetBulletStyleMgr();
if (pBulletStyleMgr)