diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-04-09 15:35:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-04-09 15:40:26 +0100 |
commit | 617bbc9da95f7e4b13e3a999fd3085a4fee23ae4 (patch) | |
tree | c321967c24822a02adab9320d0ce07b756dcffb5 /lotuswordpro | |
parent | bef802a7bf7acb8331a1d776db9bbcc3bf16220b (diff) |
pCont can be null
Change-Id: I7af6c5f4a14e330924a1ea12ebb6328884b8a565
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/qa/cppunit/data/pass/null-1.lwp | bin | 0 -> 17632 bytes | |||
-rw-r--r-- | lotuswordpro/source/filter/lwpbulletstylemgr.cxx | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/qa/cppunit/data/pass/null-1.lwp b/lotuswordpro/qa/cppunit/data/pass/null-1.lwp Binary files differnew file mode 100644 index 000000000000..351d7e88ef37 --- /dev/null +++ b/lotuswordpro/qa/cppunit/data/pass/null-1.lwp diff --git a/lotuswordpro/source/filter/lwpbulletstylemgr.cxx b/lotuswordpro/source/filter/lwpbulletstylemgr.cxx index 48cb7379a579..358655a9f8ad 100644 --- a/lotuswordpro/source/filter/lwpbulletstylemgr.cxx +++ b/lotuswordpro/source/filter/lwpbulletstylemgr.cxx @@ -287,7 +287,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); |