summaryrefslogtreecommitdiffstats
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-07-13 15:34:17 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-17 15:33:38 +0200
commit0d3b54b6d874eea33063fabcfe40538dd11aff64 (patch)
tree470765da4caea31528de95618b1833959a8841cb /sw/inc
parentConvert SV_DECL_PTRARR_DEL( SwFmtCollConditions) to boost::ptr_vector (diff)
downloadcore-0d3b54b6d874eea33063fabcfe40538dd11aff64.tar.gz
core-0d3b54b6d874eea33063fabcfe40538dd11aff64.zip
Convert SV_DECL_PTRARR_SORT_DEL(SwGlblDocContents) to o3tl::sorted_vector
Change-Id: Id0ee0ae93d69641cf65d12c8f170d3c6b34dbeb9
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/edglbldc.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/edglbldc.hxx b/sw/inc/edglbldc.hxx
index 3ebf359d8814..466b3b374337 100644
--- a/sw/inc/edglbldc.hxx
+++ b/sw/inc/edglbldc.hxx
@@ -28,7 +28,7 @@
#ifndef _EDGLBLDC_HXX
#define _EDGLBLDC_HXX
-#include <svl/svarray.hxx>
+#include <o3tl/sorted_vector.hxx>
class SwSection;
class SwTOXBase;
@@ -70,10 +70,10 @@ public:
};
-typedef SwGlblDocContent* SwGlblDocContentPtr;
-SV_DECL_PTRARR_SORT_DEL( SwGlblDocContents, SwGlblDocContentPtr, 10 )
-
-
+class SwGlblDocContents : public o3tl::sorted_vector<SwGlblDocContent*, o3tl::less_ptr_to<SwGlblDocContent> > {
+public:
+ ~SwGlblDocContents() { DeleteAndDestroyAll(); }
+};
#endif