From 0063b891424ba7023d376d12a7c54522bca087c6 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 18 Dec 2015 17:06:17 +0000 Subject: guard against missing XFContentContainer Change-Id: Ic974159f816bae465339e1b9abd2e247bbc2f206 --- lotuswordpro/source/filter/lwppara.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lotuswordpro') 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()) { -- cgit v1.2.3