summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-27 14:11:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-28 13:14:11 +0100
commit2b80764ec0f7c8e2c85dbca67b9cb8a2e6b2b143 (patch)
tree4343a4c3397b9090330d89057fdf0c4440b4ac28 /sw/inc
parent0892ec50c2fe2ff1f26c7a4ea2fdef74e3d027d7 (diff)
use unique_ptr for SwFieldTypes
Change-Id: Iddfc94618e70d3ca8414d526e58746720610c552 Reviewed-on: https://gerrit.libreoffice.org/69861 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 5e4ccce81f80..d0fda5beefa8 100644
--- a/sw/inc/docary.hxx
+++ b/sw/inc/docary.hxx
@@ -301,7 +301,7 @@ public:
void dumpAsXml(xmlTextWriterPtr pWriter) const;
};
-class SwFieldTypes : public SwVectorModifyBase<SwFieldType*> {
+class SwFieldTypes : public std::vector<std::unique_ptr<SwFieldType>> {
public:
void dumpAsXml(xmlTextWriterPtr pWriter) const;
};