Kaydet (Commit) b2cc3858 authored tarafından Caolán McNamara's avatar Caolán McNamara

guard against missing XFContentContainer

Change-Id: Ic974159f816bae465339e1b9abd2e247bbc2f206
(cherry picked from commit 0063b891)
üst 3ac3aff8
...@@ -845,7 +845,7 @@ void LwpPara::ParseDropcapContent() ...@@ -845,7 +845,7 @@ void LwpPara::ParseDropcapContent()
*/ */
void LwpPara::AddBreakBefore(XFContentContainer* pCont) void LwpPara::AddBreakBefore(XFContentContainer* pCont)
{ {
if (!m_pBreaks) if (!m_pBreaks || !pCont)
return; return;
if (m_pBreaks->IsPageBreakBefore()) if (m_pBreaks->IsPageBreakBefore())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment