summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpfribframe.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-13 19:34:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-13 19:37:23 +0000
commit9550737e5db7415a679aec8a64d6f724962b8750 (patch)
tree3618cb192af85b6d1af4c08c7fd9df8470e98ad7 /lotuswordpro/source/filter/lwpfribframe.cxx
parentODBC SQLBindParameter nitpick: correct DecimalDigits for exact numeric values (diff)
downloadcore-9550737e5db7415a679aec8a64d6f724962b8750.tar.gz
core-9550737e5db7415a679aec8a64d6f724962b8750.zip
need more References for life cycle fixes here
32nd and final distinct crash fix of this sequence Change-Id: Ib9f41091737e66995f332c06083d51408eb1497b
Diffstat (limited to 'lotuswordpro/source/filter/lwpfribframe.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpfribframe.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwpfribframe.cxx b/lotuswordpro/source/filter/lwpfribframe.cxx
index 9f039c93b4a5..91ee69729852 100644
--- a/lotuswordpro/source/filter/lwpfribframe.cxx
+++ b/lotuswordpro/source/filter/lwpfribframe.cxx
@@ -150,13 +150,13 @@ void LwpFribFrame::XFConvert(XFContentContainer* pCont)
sal_uInt8 nType = pLayout->GetRelativeType();
if( LwpLayoutRelativityGuts::LAY_PARA_RELATIVE == nType)
{
- LwpVirtualLayout* pContainerLayout = pLayout->GetContainerLayout();
- if(pContainerLayout && pContainerLayout->IsFrame())
+ rtl::Reference<LwpVirtualLayout> xContainerLayout(pLayout->GetContainerLayout());
+ if (xContainerLayout.is() && xContainerLayout->IsFrame())
{
//same page as text and in frame
pXFContentContainer = m_pPara->GetXFContainer();
}
- else if(pContainerLayout && pContainerLayout->IsCell())
+ else if (xContainerLayout.is() && xContainerLayout->IsCell())
{
//same page as text and in cell, get the first xfpara
rtl::Reference<XFContent> first(