summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-18 17:06:17 +0000
committerAndras Timar <andras.timar@collabora.com>2016-01-04 12:20:35 +0100
commitef6ee11e41aa8841317555236b0877eed0670920 (patch)
treed4cd48d0f32eea38724a764a9359e55d6b389a03 /lotuswordpro
parent0fd184698adecd1bf79817b73e7dae7bb0267734 (diff)
guard against missing XFContentContainer
Change-Id: Ic974159f816bae465339e1b9abd2e247bbc2f206 (cherry picked from commit 0063b891424ba7023d376d12a7c54522bca087c6) (cherry picked from commit b2cc385892c24dba6481bff396d4125f58c92f65) Reviewed-on: https://gerrit.libreoffice.org/20795 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit 01ef568cbc3f33092c1ed3f04afced7cb85badf3)
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwppara.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx
index ea746ddb4efb..e021833430ff 100644
--- a/lotuswordpro/source/filter/lwppara.cxx
+++ b/lotuswordpro/source/filter/lwppara.cxx
@@ -880,7 +880,7 @@ void LwpPara::ParseDropcapContent()
*/
void LwpPara::AddBreakBefore(XFContentContainer* pCont)
{
- if (!m_pBreaks)
+ if (!m_pBreaks || !pCont)
return;
if (m_pBreaks->IsPageBreakBefore())
{