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/lwptable.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/lwptable.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwptable.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lotuswordpro/source/filter/lwptable.cxx b/lotuswordpro/source/filter/lwptable.cxx index 480fb5a9d69b..416c3f2e6ba9 100644 --- a/lotuswordpro/source/filter/lwptable.cxx +++ b/lotuswordpro/source/filter/lwptable.cxx @@ -114,11 +114,11 @@ void LwpTable::Read() m_nAttributes = m_pObjStrm->QuickReaduInt16(); - m_Layout.ReadIndexed(m_pObjStrm); + m_Layout.ReadIndexed(m_pObjStrm.get()); - m_DefaultCellStyle.ReadIndexed(m_pObjStrm); + m_DefaultCellStyle.ReadIndexed(m_pObjStrm.get()); if (LwpFileHeader::m_nFileRevision >= 0x0007) - m_CPNotifyList.Read(m_pObjStrm); + m_CPNotifyList.Read(m_pObjStrm.get()); m_pObjStrm->SkipExtra(); } @@ -171,8 +171,8 @@ LwpParallelColumns::~LwpParallelColumns() void LwpParallelColumns::Read() { LwpTable::Read(); - cDefaultLeftColumnStyle.ReadIndexed(m_pObjStrm); - cDefaultRightColumnStyle.ReadIndexed(m_pObjStrm); + cDefaultLeftColumnStyle.ReadIndexed(m_pObjStrm.get()); + cDefaultRightColumnStyle.ReadIndexed(m_pObjStrm.get()); m_pObjStrm->SkipExtra(); } |