summaryrefslogtreecommitdiffstats
path: root/sw/inc/ftnidx.hxx
diff options
context:
space:
mode:
authorNigel Hawkins <n.hawkins@gmx.com>2011-07-13 14:46:39 +0100
committerNigel Hawkins <n.hawkins@gmx.com>2011-07-13 15:57:23 +0100
commit7126d7b96ce76d46f95c7566b198870deff47498 (patch)
tree6cdbacc5ad46c4cf3579c4e3e8b8eb5acf5e00c1 /sw/inc/ftnidx.hxx
parentReplace SvUShorts with vector in extinput.hxx and cascade changes. (diff)
downloadcore-7126d7b96ce76d46f95c7566b198870deff47498.tar.gz
core-7126d7b96ce76d46f95c7566b198870deff47498.zip
Replace SvUShorts with vector in ftnidx.[ch]xx
LGPLv3+/MPL
Diffstat (limited to 'sw/inc/ftnidx.hxx')
-rw-r--r--sw/inc/ftnidx.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/sw/inc/ftnidx.hxx b/sw/inc/ftnidx.hxx
index e2d6fcfd1138..d3ae3c8ca764 100644
--- a/sw/inc/ftnidx.hxx
+++ b/sw/inc/ftnidx.hxx
@@ -28,9 +28,8 @@
#ifndef _FTNIDX_HXX
#define _FTNIDX_HXX
-
-#define _SVSTDARR_USHORTS
#include <svl/svstdarr.hxx>
+#include <vector>
class SwTxtFtn;
class SwNodeIndex;
@@ -60,12 +59,10 @@ public:
class SwUpdFtnEndNtAtEnd
{
SvPtrarr aFtnSects, aEndSects;
- SvUShorts aFtnNums, aEndNums;
+ std::vector<sal_uInt16> aFtnNums, aEndNums;
public:
- SwUpdFtnEndNtAtEnd() : aFtnSects( 0, 4 ), aEndSects( 0, 4 ),
- aFtnNums( 0, 4 ), aEndNums( 0, 4 )
- {}
+ SwUpdFtnEndNtAtEnd() : aFtnSects( 0, 4 ), aEndSects( 0, 4 ) {}
static const SwSectionNode* FindSectNdWithEndAttr(
const SwTxtFtn& rTxtFtn );