diff options
author | Noel Grandin <noel@peralex.com> | 2012-07-13 15:34:17 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-07-17 15:33:38 +0200 |
commit | 0d3b54b6d874eea33063fabcfe40538dd11aff64 (patch) | |
tree | 470765da4caea31528de95618b1833959a8841cb /sw/inc | |
parent | 7bef4fe2e22642d552cf3f431d6ee3ba456b9101 (diff) |
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.hxx | 10 |
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 |