summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-27 12:59:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-28 07:41:52 +0100
commit42c758281dee346811326cc701a62f5d091db833 (patch)
tree6ffa5a422004e83ebdeb68d2c915677153e490f4 /sw/inc
parent9304135b560bbb8c8f197c5a8f7127665aafae47 (diff)
use unique_ptr for SwTOXTypes
Change-Id: I66e6ce7f2d5f2b9ba8bbf6046a87f2d208a9a768 Reviewed-on: https://gerrit.libreoffice.org/69860 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/docary.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/docary.hxx b/sw/inc/docary.hxx
index 53b32d38fad4..5e4ccce81f80 100644
--- a/sw/inc/docary.hxx
+++ b/sw/inc/docary.hxx
@@ -306,7 +306,7 @@ public:
void dumpAsXml(xmlTextWriterPtr pWriter) const;
};
-class SwTOXTypes : public SwVectorModifyBase<SwTOXType*> {};
+class SwTOXTypes : public std::vector<std::unique_ptr<SwTOXType>> {};
class SW_DLLPUBLIC SwNumRuleTable : public SwVectorModifyBase<SwNumRule*> {
public: