From 549efd7f82d9da621294d496e43420c95e9bf500 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 11 Jan 2017 12:51:11 +0200 Subject: new loplugin: useuniqueptr: lotuswordpro Change-Id: I1f9569cb5ca05faf12663b3df8508d10a8cd75e6 Reviewed-on: https://gerrit.libreoffice.org/32957 Tested-by: Jenkins Reviewed-by: Noel Grandin --- lotuswordpro/source/filter/lwpsection.cxx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'lotuswordpro/source/filter/lwpsection.cxx') diff --git a/lotuswordpro/source/filter/lwpsection.cxx b/lotuswordpro/source/filter/lwpsection.cxx index d61cbe915278..ea44aff7bd0e 100644 --- a/lotuswordpro/source/filter/lwpsection.cxx +++ b/lotuswordpro/source/filter/lwpsection.cxx @@ -78,8 +78,8 @@ void LwpOrderedObject::Read() { LwpDLNFVList::Read(); - m_ListList.ReadIndexed(m_pObjStrm); - m_Para.ReadIndexed(m_pObjStrm); + m_ListList.ReadIndexed(m_pObjStrm.get()); + m_Para.ReadIndexed(m_pObjStrm.get()); m_pObjStrm->SkipExtra(); } @@ -101,9 +101,9 @@ void LwpSection::Read() { LwpOrderedObject::Read(); m_Flags = m_pObjStrm->QuickReaduInt16(); - m_PageLayout.ReadIndexed(m_pObjStrm); - m_Color.Read(m_pObjStrm); - m_AtomHolder.Read(m_pObjStrm); + m_PageLayout.ReadIndexed(m_pObjStrm.get()); + m_Color.Read(m_pObjStrm.get()); + m_AtomHolder.Read(m_pObjStrm.get()); m_pObjStrm->SkipExtra(); } @@ -133,10 +133,10 @@ LwpIndexSection::~LwpIndexSection() void LwpIndexSection::Read() { LwpSection::Read(); - m_TextMarker.Read(m_pObjStrm); - m_ParentName.Read(m_pObjStrm); - m_DivisionName.Read(m_pObjStrm); - m_SectionName.Read(m_pObjStrm); + m_TextMarker.Read(m_pObjStrm.get()); + m_ParentName.Read(m_pObjStrm.get()); + m_DivisionName.Read(m_pObjStrm.get()); + m_SectionName.Read(m_pObjStrm.get()); m_nForm = m_pObjStrm->QuickReaduInt16(); m_nFlags = m_pObjStrm->QuickReaduInt16(); m_pObjStrm->SkipExtra(); -- cgit