summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-06 16:23:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-06 21:39:19 +0200
commit08e09136a60e176703c08aff8a7a8e8a12d3f9b1 (patch)
treed118824da65c66f0fa6223f2ee29e087311c2245 /include
parent2b591a40b0f6894531350ccb733abef3c3e1d9bf (diff)
use unique_ptr in EditNodeIdx
Change-Id: I59702aa3d54f60cb3e41410e82b0532bac05274f Reviewed-on: https://gerrit.libreoffice.org/78717 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/svxrtf.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx
index d38d1c605460..1188ed65f8af 100644
--- a/include/editeng/svxrtf.hxx
+++ b/include/editeng/svxrtf.hxx
@@ -71,7 +71,7 @@ public:
std::unique_ptr<EditPosition> Clone() const;
// clone NodeIndex
- EditNodeIdx* MakeNodeIdx() const;
+ std::unique_ptr<EditNodeIdx> MakeNodeIdx() const;
};
typedef std::map<short, std::unique_ptr<vcl::Font>> SvxRTFFontTbl;