summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/lwpbulletstylemgr.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpbulletstylemgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpbulletstylemgr.cxx b/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
index 933f239bd5fa..7d7828407b46 100644
--- a/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
+++ b/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
@@ -293,7 +293,7 @@ XFContentContainer* LwpBulletStyleMgr::AddBulletList(
theList->SetContinueNumber(bContinue);
}
//Add the outer list to pCont
- if (nC == 0)
+ if (nC == 0 && pCont)
{
theList->SetStyleName(rStyleName);
pCont->Add(theList);