diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-10 16:46:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-10 16:46:33 +0000 |
commit | 61f55b25c62eaa2714ad8b991edcf54be5e41e0c (patch) | |
tree | 741c3ca3831b25afc9328f389c06bab28e955451 /lotuswordpro/source | |
parent | 5bf8209428ae2aa097e48034c21ba06180aed4fe (diff) |
add a reference to ensure pPara exists until end of scope
Change-Id: I0067ead587c25296ab195b80f461fb0766b1899a
Diffstat (limited to 'lotuswordpro/source')
-rw-r--r-- | lotuswordpro/source/filter/lwppara.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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<XFContentContainer> xHolder(pPara); pPara->SetStyleName(m_StyleName); if(!m_SectionStyleName.isEmpty()) |