lotuswordpro/source/filter/lwppara.hxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit afe00bba93d5c564dff44789c3a4daf5e47c1944 Author: Caolán McNamara <caol...@redhat.com> Date: Thu Dec 10 09:16:59 2015 +0000 guard against missing paragraph container Change-Id: I6ac074c7fe2821983b4a056e28fc5379f7a93974 (cherry picked from commit 130eaf02de89c8996ff6e817a005993dcbd586e6) Reviewed-on: https://gerrit.libreoffice.org/20563 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/lotuswordpro/source/filter/lwppara.hxx b/lotuswordpro/source/filter/lwppara.hxx index 6e77876..a6d7563 100644 --- a/lotuswordpro/source/filter/lwppara.hxx +++ b/lotuswordpro/source/filter/lwppara.hxx @@ -323,6 +323,8 @@ inline OUString LwpPara::GetBulletStyleName() const } inline void LwpPara::AddXFContent(XFContent* pCont) { + if (!m_pXFContainer) + throw std::runtime_error("paragraph lacks container"); m_pXFContainer->Add(pCont); } inline void LwpPara::SetXFContainer(XFContentContainer* pCont)
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits