summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8par4.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-03 11:13:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-04-03 12:41:42 +0100
commitfb5331971379f7d71413364e9d62f8264033ac67 (patch)
tree51febc1c7744ecca112994635f3bc625a9764ef9 /sw/source/filter/ww8/ww8par4.cxx
parent11a0863509f9ae14f31b660d60f9667516466783 (diff)
ofz: fix leak
Change-Id: I93a7b2f77713db5c51734263b78ffc69c899987b
Diffstat (limited to 'sw/source/filter/ww8/ww8par4.cxx')
-rw-r--r--sw/source/filter/ww8/ww8par4.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par4.cxx b/sw/source/filter/ww8/ww8par4.cxx
index 0761a370804b..a34427f880aa 100644
--- a/sw/source/filter/ww8/ww8par4.cxx
+++ b/sw/source/filter/ww8/ww8par4.cxx
@@ -277,11 +277,11 @@ SwFrameFormat* SwWW8ImplReader::ImportOle(const Graphic* pGrf,
aSizeTwip.Height() ) );
pTempSet->Put( SwFormatVertOrient( 0, text::VertOrientation::TOP, text::RelOrientation::FRAME ));
- if( m_pSFlyPara )
+ if (m_xSFlyPara)
{
// Resize the frame to the picture size if there is an OLE object
// in the frame (only if auto-width)
- m_pSFlyPara->BoxUpWidth( aSizeTwip.Width() );
+ m_xSFlyPara->BoxUpWidth(aSizeTwip.Width());
}
}