summaryrefslogtreecommitdiffstats
path: root/sw/inc/authfld.hxx
diff options
context:
space:
mode:
authorNigel Hawkins <n.hawkins@gmx.com>2011-02-24 11:36:36 +0000
committerNigel Hawkins <n.hawkins@gmx.com>2011-02-24 17:35:24 +0000
commit344966c6d0fc4967bc3ac4a1aedb5ca22cea0c10 (patch)
tree74abb06ed2dfe9ab0bb7eacbd4b8c4ff05ff5ec8 /sw/inc/authfld.hxx
parentRelated: fdo#33549 remove bogus CorrectResIdForCharset (diff)
downloadcore-344966c6d0fc4967bc3ac4a1aedb5ca22cea0c10.tar.gz
core-344966c6d0fc4967bc3ac4a1aedb5ca22cea0c10.zip
Remove use of SvLongs in authfld.[ch]xx
Diffstat (limited to 'sw/inc/authfld.hxx')
-rw-r--r--sw/inc/authfld.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx
index d6242c6301f9..4f95403864d5 100644
--- a/sw/inc/authfld.hxx
+++ b/sw/inc/authfld.hxx
@@ -31,9 +31,7 @@
#include "swdllapi.h"
#include <fldbas.hxx>
#include <toxe.hxx>
-
-#define _SVSTDARR_LONGS
-#include <svl/svstdarr.hxx>
+#include <vector>
class SwAuthDataArr;
@@ -71,7 +69,7 @@ class SW_DLLPUBLIC SwAuthorityFieldType : public SwFieldType
{
SwDoc* m_pDoc;
SwAuthDataArr* m_pDataArr;
- SvLongs* m_pSequArr;
+ std::vector<long> m_SequArr;
SortKeyArr* m_pSortKeyArr;
sal_Unicode m_cPrefix;
sal_Unicode m_cSuffix;
@@ -101,7 +99,7 @@ public:
BOOL AddField(long nHandle);
void DelSequenceArray()
{
- m_pSequArr->Remove(0, m_pSequArr->Count());
+ m_SequArr.clear();
}
const SwAuthEntry* GetEntryByHandle(long nHandle) const;