diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-12 20:46:38 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-12 20:46:38 +0000 |
commit | 13eaf4dad1324b4f2d909424b2bf06f75102f01f (patch) | |
tree | ae8a94ed5f0ccd5714a158ac59fab921def5f3ee /lotuswordpro/source | |
parent | 90ccda6242e9386f1825be9ded7ce66e01493565 (diff) |
guard against missing m_pXFContainer
Change-Id: I5c0800c353b46ea1fe359a893bdd8215f70cd809
Diffstat (limited to 'lotuswordpro/source')
-rw-r--r-- | lotuswordpro/source/filter/lwppara.cxx | 4 |
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) |