summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-05-16 09:35:18 +0200
committerMichael Stahl <mstahl@redhat.com>2012-05-25 00:17:03 +0200
commit84a0fb0900e3c1b708be8605f83ff94ca03c7482 (patch)
treec5a75965042d6a78f34ccda6909cdf1b05ceaaa0 /sw/inc
parentbf799459d8e8eabd764450c82450036c5d0e742f (diff)
Convert SV_DECL_PTRARR(SwSortKeys) to std::vector
Change-Id: I4596da43e75c0b8c91039786c739c017ee16b6f2
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/sortopt.hxx3
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
{