lotuswordpro/source/filter/lwpfribsection.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit d4b850fe8bc45bfb018f0a8750e09a436c49d7df Author: Caolán McNamara <caol...@redhat.com> Date: Wed Dec 9 16:31:40 2015 +0000 guard against missing paragraph story Change-Id: I217c0aedca4eadc347c103899d96c70cf9606038 (cherry picked from commit dbc830aecc722d34971d773470da478ef4c38714) Reviewed-on: https://gerrit.libreoffice.org/20539 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/lotuswordpro/source/filter/lwpfribsection.cxx b/lotuswordpro/source/filter/lwpfribsection.cxx index b870488..e24faf8 100644 --- a/lotuswordpro/source/filter/lwpfribsection.cxx +++ b/lotuswordpro/source/filter/lwpfribsection.cxx @@ -164,9 +164,8 @@ void LwpFribSection::ParseSection() m_pMasterPage->ParseSection(this); } } - else + else if (LwpStory* pStory = static_cast<LwpStory*>(m_pPara->GetStoryID().obj().get())) { - LwpStory* pStory = static_cast<LwpStory*> ( m_pPara->GetStoryID().obj().get() ); rtl::Reference<LwpObject> xObj(m_Section.obj()); if (xObj.is() && xObj->GetTag() == VO_INDEXSECTION) {
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits