summaryrefslogtreecommitdiffstats
path: root/sw/inc/section.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-05-16 10:18:27 +0200
committerMichael Stahl <mstahl@redhat.com>2012-05-25 00:17:03 +0200
commitf2e528072ef2bfec30795b1ba05905b39f5dc893 (patch)
treefd93193027e84cf7724e5447ae13a9828bb02cb0 /sw/inc/section.hxx
parentConvert SV_DECL_PTRARR(SwSortKeys) to std::vector (diff)
downloadcore-f2e528072ef2bfec30795b1ba05905b39f5dc893.tar.gz
core-f2e528072ef2bfec30795b1ba05905b39f5dc893.zip
Convert SV_DECL_PTRARR(SwSections) to std::vector
Change-Id: Ie41c43dc0cb5b64240122e76df20ff1a57f8532a
Diffstat (limited to 'sw/inc/section.hxx')
-rw-r--r--sw/inc/section.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx
index 89bb7423705c..eccf256dfaee 100644
--- a/sw/inc/section.hxx
+++ b/sw/inc/section.hxx
@@ -41,6 +41,7 @@
#include <sfx2/Metadatable.hxx>
#include <frmfmt.hxx>
+#include <vector>
namespace com { namespace sun { namespace star {
@@ -59,7 +60,7 @@ class SwTOXBase;
SV_DECL_REF( SwServerObject )
#endif
-SV_DECL_PTRARR( SwSections, SwSection*, 0 )
+typedef std::vector<SwSection*> SwSections;
enum SectionType { CONTENT_SECTION,
TOX_HEADER_SECTION,