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

guard against missing paragraph story

Change-Id: I217c0aedca4eadc347c103899d96c70cf9606038
üst ab5d730b
...@@ -161,9 +161,8 @@ void LwpFribSection::ParseSection() ...@@ -161,9 +161,8 @@ void LwpFribSection::ParseSection()
m_pMasterPage->ParseSection(this); 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()); rtl::Reference<LwpObject> xObj(m_Section.obj());
if (xObj.is() && xObj->GetTag() == VO_INDEXSECTION) 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