summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-01-04 09:50:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-01-04 22:03:46 +0100
commite26f2f3367d6bd44fda9a4c5ca2faeb7359bcb97 (patch)
tree2dd140717a0240d36e40148f7432e23d624aa80c /sd
parentd86d3caf9853e930eb686b63309a7cc6c29cc0d2 (diff)
ofz#4943 Direct-leak
Change-Id: I45b7c6befadda58d7919732597647b9e2cbd46d8 Reviewed-on: https://gerrit.libreoffice.org/47373 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/ppt/pptin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index 5029b1ff6af2..dae80f480de8 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -1421,8 +1421,8 @@ void ImplSdPPTImport::SetHeaderFooterPageSettings( SdPage* pPage, const PptSlide
if ( ( !pList ) || ( pList->size() <= nAktPageNum ) )
return;
PptSlidePersistEntry& rSlidePersist = (*pList)[ nAktPageNum ];
- HeaderFooterEntry* pHFE = rSlidePersist.pHeaderFooterEntry;
- if ( pHFE )
+ HeaderFooterEntry* pHFE = rSlidePersist.xHeaderFooterEntry.get();
+ if (pHFE)
{
for ( i = 0; i < 4; i++ )
{