diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-22 13:39:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-25 09:13:04 +0200 |
commit | 14b306398463dbd4c1af511d38513eac05c3672f (patch) | |
tree | 20407c1ec8520df0bd78297e983cf66a30b49c3e /lotuswordpro/source/filter/lwpchangemgr.cxx | |
parent | 99d5312a56a4c12301f9c235b4d51b8a5cec3d71 (diff) |
loplugin:useuniqueptr in LwpChangeMgr
these should be held by rtl::Reference
Change-Id: I135352dafc6ba0e274d344aec432fe4eabbafe97
Reviewed-on: https://gerrit.libreoffice.org/56333
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/source/filter/lwpchangemgr.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpchangemgr.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwpchangemgr.cxx b/lotuswordpro/source/filter/lwpchangemgr.cxx index 1c2816fceba2..9fbfc1906201 100644 --- a/lotuswordpro/source/filter/lwpchangemgr.cxx +++ b/lotuswordpro/source/filter/lwpchangemgr.cxx @@ -146,10 +146,6 @@ void LwpChangeMgr::ConvertAllChange(IXFStream* pStream) pStream->EndElement("text:tracked-changes"); - for (auto const& elem : m_ChangeList) - { - delete elem; - } m_ChangeList.clear(); } void LwpChangeMgr::SetHeadFootFribMap(bool bFlag) |