[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - lotuswordpro/source
Caolán McNamara
caolanm at redhat.com
Fri Dec 18 09:08:34 PST 2015
lotuswordpro/source/filter/lwppara.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b2cc385892c24dba6481bff396d4125f58c92f65
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Dec 18 17:06:17 2015 +0000
guard against missing XFContentContainer
Change-Id: Ic974159f816bae465339e1b9abd2e247bbc2f206
(cherry picked from commit 0063b891424ba7023d376d12a7c54522bca087c6)
diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx
index 99a2132..725b914 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())
{
More information about the Libreoffice-commits
mailing list