summaryrefslogtreecommitdiff
path: root/include/editeng/svxrtf.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-29 11:08:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-05 07:50:28 +0100
commitadd8b7099394e0754693af5a89d148ddc118182e (patch)
tree4f10e9aa2e51a05b4fb525f7b41ef2a37cd62d75 /include/editeng/svxrtf.hxx
parent76643b208c7f0c43b0603e08a3b37f29878c42ea (diff)
loplugin:useuniqueptr in SvxRTFItemStackType
Change-Id: I1677915d91fb151997d4bef18473f33ab2f09648 Reviewed-on: https://gerrit.libreoffice.org/49173 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng/svxrtf.hxx')
-rw-r--r--include/editeng/svxrtf.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx
index abba52d1c214..73e885553a43 100644
--- a/include/editeng/svxrtf.hxx
+++ b/include/editeng/svxrtf.hxx
@@ -312,9 +312,10 @@ class EDITENG_DLLPUBLIC SvxRTFItemStackType
friend class SvxRTFParser;
SfxItemSet aAttrSet;
- EditNodeIdx *pSttNd, *pEndNd;
+ std::unique_ptr<EditNodeIdx> pSttNd;
+ EditNodeIdx *pEndNd;
sal_Int32 nSttCnt, nEndCnt;
- SvxRTFItemStackList* m_pChildList;
+ std::unique_ptr<SvxRTFItemStackList> m_pChildList;
sal_uInt16 nStyleNo;
SvxRTFItemStackType(SvxRTFItemStackType const&) = delete;