diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-04-09 15:35:43 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-04-09 18:39:29 +0000 |
commit | e7e61b4e06e1285f5f8e89a46774b883d9fe0282 (patch) | |
tree | 4ff9de315e1b68cafc8e907713fd3d1bdb0ebe04 /lotuswordpro | |
parent | 7ec82b36c8bb74ef9f3948b33958b4bcf7fdddb1 (diff) |
pCont can be null
Change-Id: I7af6c5f4a14e330924a1ea12ebb6328884b8a565
(cherry picked from commit 617bbc9da95f7e4b13e3a999fd3085a4fee23ae4)
Reviewed-on: https://gerrit.libreoffice.org/23936
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
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); |