[Libreoffice-commits] core.git: lotuswordpro/source
Caolán McNamara
caolanm at redhat.com
Sat Dec 12 12:47:45 PST 2015
lotuswordpro/source/filter/lwppara.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 13eaf4dad1324b4f2d909424b2bf06f75102f01f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Dec 12 20:46:38 2015 +0000
guard against missing m_pXFContainer
Change-Id: I5c0800c353b46ea1fe359a893bdd8215f70cd809
diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx
index 327e016..29c8fe0 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)
More information about the Libreoffice-commits
mailing list