From 61f55b25c62eaa2714ad8b991edcf54be5e41e0c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 10 Dec 2015 16:46:21 +0000 Subject: add a reference to ensure pPara exists until end of scope Change-Id: I0067ead587c25296ab195b80f461fb0766b1899a --- lotuswordpro/source/filter/lwppara.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'lotuswordpro/source') diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx index 17454b648610..4b204057aec9 100644 --- a/lotuswordpro/source/filter/lwppara.cxx +++ b/lotuswordpro/source/filter/lwppara.cxx @@ -271,6 +271,7 @@ void LwpPara::XFConvert(XFContentContainer* pCont) //Create an XFPara for this VO_PARA XFParagraph *pPara = new XFParagraph; + rtl::Reference xHolder(pPara); pPara->SetStyleName(m_StyleName); if(!m_SectionStyleName.isEmpty()) -- cgit