diff options
author | Noel Grandin <noel@peralex.com> | 2012-05-16 09:35:18 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-05-25 00:17:03 +0200 |
commit | 84a0fb0900e3c1b708be8605f83ff94ca03c7482 (patch) | |
tree | c5a75965042d6a78f34ccda6909cdf1b05ceaaa0 /sw/inc | |
parent | bf799459d8e8eabd764450c82450036c5d0e742f (diff) |
Convert SV_DECL_PTRARR(SwSortKeys) to std::vector
Change-Id: I4596da43e75c0b8c91039786c739c017ee16b6f2
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/sortopt.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/sortopt.hxx b/sw/inc/sortopt.hxx index 35e5982d52a3..aeeb72d5a91f 100644 --- a/sw/inc/sortopt.hxx +++ b/sw/inc/sortopt.hxx @@ -32,6 +32,7 @@ #include <svl/svarray.hxx> #include <tools/string.hxx> #include "swdllapi.h" +#include <vector> enum SwSortOrder { SRT_ASCENDING, SRT_DESCENDING }; enum SwSortDirection { SRT_COLUMNS, SRT_ROWS }; @@ -49,7 +50,7 @@ struct SW_DLLPUBLIC SwSortKey sal_Bool bIsNumeric; }; -SV_DECL_PTRARR(SwSortKeys, SwSortKey*, 3) +typedef std::vector<SwSortKey*> SwSortKeys; struct SW_DLLPUBLIC SwSortOptions { |