[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - lotuswordpro/source
Caolán McNamara
caolanm at redhat.com
Thu Dec 10 08:47:49 PST 2015
lotuswordpro/source/filter/lwppara.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 86a52d6bb9ba75a1a56589bce0cb51a72a46ed19
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 10 16:46:21 2015 +0000
add a reference to ensure pPara exists until end of scope
Change-Id: I0067ead587c25296ab195b80f461fb0766b1899a
(cherry picked from commit 61f55b25c62eaa2714ad8b991edcf54be5e41e0c)
diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx
index 17454b6..4b20405 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<XFContentContainer> xHolder(pPara);
pPara->SetStyleName(m_StyleName);
if(!m_SectionStyleName.isEmpty())
More information about the Libreoffice-commits
mailing list