Kaydet (Commit) 0b1d5721 authored tarafından Caolán McNamara's avatar Caolán McNamara

guard against missing paragraph story

Change-Id: I217c0aedca4eadc347c103899d96c70cf9606038
(cherry picked from commit dbc830ae)
Reviewed-on: https://gerrit.libreoffice.org/20538Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst d9f6f906
......@@ -161,9 +161,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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment