summaryrefslogtreecommitdiff
path: root/sw/inc/docary.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2017-05-01 14:34:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-02 08:17:55 +0200
commit5eaad8eb1d46b6f85605c5ac210e8b1397b18b22 (patch)
treea4b35695a88108b89eba90d4112be0736f7c94db /sw/inc/docary.hxx
parentd02d52887678cd3d518c19a235bc443c292b3041 (diff)
SwFieldTypes can just be a std::vector typedef
Change-Id: I10b43a71c8cedc6efbb30056d3da7fd431f04791 Reviewed-on: https://gerrit.libreoffice.org/37121 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/docary.hxx')
-rw-r--r--sw/inc/docary.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/inc/docary.hxx b/sw/inc/docary.hxx
index 255bc8127ff7..8e0131516a11 100644
--- a/sw/inc/docary.hxx
+++ b/sw/inc/docary.hxx
@@ -295,10 +295,8 @@ public:
void dumpAsXml(struct _xmlTextWriter* pWriter) const;
};
-class SwFieldTypes : public SwVectorModifyBase<SwFieldType*> {
-public:
- void dumpAsXml(struct _xmlTextWriter* pWriter) const;
-};
+typedef std::vector<SwFieldType*> SwFieldTypes;
+void dumpAsXml(struct _xmlTextWriter* pWriter, SwFieldTypes const &);
typedef std::vector<SwTOXType*> SwTOXTypes;