diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-18 14:32:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-20 08:15:22 +0200 |
commit | 97c934d96be62f906c48561673866399f6469446 (patch) | |
tree | 4aecdf325954682bd1dda6cdaa4c95fd0a5d1e8a /sw/inc | |
parent | ace6bbf3da9ae27aca87865b6be887a3aed341fc (diff) |
convert SwGlblDocContents to sorted_vector<unique_ptr<>>
Change-Id: I9766a03739aa63be8f42fc99012577cfa154298d
Reviewed-on: https://gerrit.libreoffice.org/60738
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/edglbldc.hxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/inc/edglbldc.hxx b/sw/inc/edglbldc.hxx index 2dabd5165643..ee246d006c73 100644 --- a/sw/inc/edglbldc.hxx +++ b/sw/inc/edglbldc.hxx @@ -60,10 +60,7 @@ public: { return GetDocPos() < rCmp.GetDocPos(); } }; -class SwGlblDocContents : public o3tl::sorted_vector<SwGlblDocContent*, o3tl::less_ptr_to<SwGlblDocContent> > { -public: - ~SwGlblDocContents() { DeleteAndDestroyAll(); } -}; +class SwGlblDocContents : public o3tl::sorted_vector<std::unique_ptr<SwGlblDocContent>, o3tl::less_uniqueptr_to<SwGlblDocContent> > {}; #endif |