diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-18 17:06:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-18 17:06:37 +0000 |
commit | 0063b891424ba7023d376d12a7c54522bca087c6 (patch) | |
tree | 8e3459d3ae37bd59c82644dc62e03d90d0de6c05 /lotuswordpro | |
parent | 0ebbdd66b6bfc761c2bfd610149c01706e68f9da (diff) |
guard against missing XFContentContainer
Change-Id: Ic974159f816bae465339e1b9abd2e247bbc2f206
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwppara.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx index 99a2132fb6ee..725b9149f00e 100644 --- a/lotuswordpro/source/filter/lwppara.cxx +++ b/lotuswordpro/source/filter/lwppara.cxx @@ -845,7 +845,7 @@ void LwpPara::ParseDropcapContent() */ void LwpPara::AddBreakBefore(XFContentContainer* pCont) { - if (!m_pBreaks) + if (!m_pBreaks || !pCont) return; if (m_pBreaks->IsPageBreakBefore()) { |