summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-19 12:45:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-19 12:54:25 +0000
commit960cfb7e3ba56fe06f45c523e086ee6d4b95e685 (patch)
tree2e3ee1376c95139bbaadfadf00a5da8fbcec0b9d /lotuswordpro
parent274d265e42ab89be29af21ef5cc1cbf20b3d35a2 (diff)
1343630 Dereference after null check
Change-Id: I81223b868f069755e8a46c57bfe0282021f26de7
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 725b9149f00e..7cd676c81929 100644
--- a/lotuswordpro/source/filter/lwppara.cxx
+++ b/lotuswordpro/source/filter/lwppara.cxx
@@ -305,7 +305,7 @@ void LwpPara::XFConvert(XFContentContainer* pCont)
m_Fribs.SetXFPara(pPara);
m_Fribs.XFConvert();
- if (m_pBreaks)
+ if (m_pBreaks && m_pXFContainer)
AddBreakAfter(m_pXFContainer);
}