summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpsection.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-11 12:51:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-11 13:11:06 +0000
commit549efd7f82d9da621294d496e43420c95e9bf500 (patch)
tree2a9a7471afdbd987759057ad377835c8f084279a /lotuswordpro/source/filter/lwpsection.cxx
parentResolves: tdf#105209 CHF currency symbol is CHF instead of SFr. (diff)
downloadcore-549efd7f82d9da621294d496e43420c95e9bf500.tar.gz
core-549efd7f82d9da621294d496e43420c95e9bf500.zip
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/lwpsection.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpsection.cxx18
1 files changed, 9 insertions, 9 deletions
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();