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

guard against missing paragraph container

Change-Id: I6ac074c7fe2821983b4a056e28fc5379f7a93974
üst 1ff0a388
......@@ -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)
......
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