diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-11 12:51:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-11 13:11:06 +0000 |
commit | 549efd7f82d9da621294d496e43420c95e9bf500 (patch) | |
tree | 2a9a7471afdbd987759057ad377835c8f084279a /lotuswordpro/source/filter/lwppagelayout.cxx | |
parent | 28a0737f8c21e5c9f789af328348e51b6044c28c (diff) |
new loplugin: useuniqueptr: lotuswordpro
Change-Id: I1f9569cb5ca05faf12663b3df8508d10a8cd75e6
Reviewed-on: https://gerrit.libreoffice.org/32957
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/source/filter/lwppagelayout.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwppagelayout.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwppagelayout.cxx b/lotuswordpro/source/filter/lwppagelayout.cxx index ee2868f47ff3..2d95ac70a288 100644 --- a/lotuswordpro/source/filter/lwppagelayout.cxx +++ b/lotuswordpro/source/filter/lwppagelayout.cxx @@ -104,14 +104,14 @@ void LwpPageLayout::Read() } m_nPrinterBin = m_pObjStrm->QuickReaduInt16(); - m_pPrinterBinName->Read(m_pObjStrm); + m_pPrinterBinName->Read(m_pObjStrm.get()); if (LwpFileHeader::m_nFileRevision >= 0x000B) m_nBdroffset = m_pObjStrm->QuickReadInt32(); if (m_pObjStrm->CheckExtra()) { - m_pPaperName->Read(m_pObjStrm); + m_pPaperName->Read(m_pObjStrm.get()); m_pObjStrm->SkipExtra(); } |