summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwppara.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/lwppara.hxx')
-rw-r--r--lotuswordpro/source/filter/lwppara.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/lotuswordpro/source/filter/lwppara.hxx b/lotuswordpro/source/filter/lwppara.hxx
index d3d7bf637ccc..57886ab69b87 100644
--- a/lotuswordpro/source/filter/lwppara.hxx
+++ b/lotuswordpro/source/filter/lwppara.hxx
@@ -345,6 +345,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)