diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-03 11:13:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-03 12:41:42 +0100 |
commit | fb5331971379f7d71413364e9d62f8264033ac67 (patch) | |
tree | 51febc1c7744ecca112994635f3bc625a9764ef9 /sw/source/filter/ww8/ww8par2.cxx | |
parent | 11a0863509f9ae14f31b660d60f9667516466783 (diff) |
ofz: fix leak
Change-Id: I93a7b2f77713db5c51734263b78ffc69c899987b
Diffstat (limited to 'sw/source/filter/ww8/ww8par2.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par2.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx index 669c98c48e64..a3888a2192f3 100644 --- a/sw/source/filter/ww8/ww8par2.cxx +++ b/sw/source/filter/ww8/ww8par2.cxx @@ -2484,22 +2484,22 @@ void WW8TabDesc::CreateSwTable() if (text::HoriOrientation::LEFT_AND_WIDTH == m_eOri) { - if (!m_pIo->m_nInTable && m_pIo->InLocalApo() && m_pIo->m_pSFlyPara->pFlyFormat && + if (!m_pIo->m_nInTable && m_pIo->InLocalApo() && m_pIo->m_xSFlyPara->pFlyFormat && GetMinLeft()) { //If we are inside a frame and we have a border, the frames //placement does not consider the tables border, which word //displays outside the frame, so adjust here. - SwFormatHoriOrient aHori(m_pIo->m_pSFlyPara->pFlyFormat->GetHoriOrient()); + SwFormatHoriOrient aHori(m_pIo->m_xSFlyPara->pFlyFormat->GetHoriOrient()); sal_Int16 eHori = aHori.GetHoriOrient(); if ((eHori == text::HoriOrientation::NONE) || (eHori == text::HoriOrientation::LEFT) || (eHori == text::HoriOrientation::LEFT_AND_WIDTH)) { //With multiple table, use last table settings. Perhaps //the maximum is what word does ? - aHori.SetPos(m_pIo->m_pSFlyPara->nXPos + GetMinLeft()); + aHori.SetPos(m_pIo->m_xSFlyPara->nXPos + GetMinLeft()); aHori.SetHoriOrient(text::HoriOrientation::NONE); - m_pIo->m_pSFlyPara->pFlyFormat->SetFormatAttr(aHori); + m_pIo->m_xSFlyPara->pFlyFormat->SetFormatAttr(aHori); } } else |