summaryrefslogtreecommitdiff
path: root/sw/inc/expfld.hxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-08-19 21:57:36 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-09-06 12:08:13 +0200
commitda44e4cce8061b57afdea51c4ea9b53b6e9355a0 (patch)
tree1dde4bde3da84a7048ba24c2bb2eb75d3e87016f /sw/inc/expfld.hxx
parent37f8ed8daf19bf536857640e4961a188fb1b723e (diff)
Use size_t consistently, constify, reduce scope
Change-Id: Ie5de70645becc5ac584f1b3ffe6048969d2a19a9
Diffstat (limited to 'sw/inc/expfld.hxx')
-rw-r--r--sw/inc/expfld.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/expfld.hxx b/sw/inc/expfld.hxx
index 071967e0dd18..ff324a831fc7 100644
--- a/sw/inc/expfld.hxx
+++ b/sw/inc/expfld.hxx
@@ -62,11 +62,11 @@ public:
}
bool InsertSort(_SeqFldLstElem* pNew);
- bool SeekEntry(const _SeqFldLstElem& rNew, sal_uInt16* pPos) const;
+ bool SeekEntry(const _SeqFldLstElem& rNew, size_t* pPos) const;
- sal_uInt16 Count() { return maData.size(); }
- _SeqFldLstElem* operator[](sal_uInt16 nIndex) { return maData[nIndex]; }
- const _SeqFldLstElem* operator[](sal_uInt16 nIndex) const { return maData[nIndex]; }
+ size_t Count() { return maData.size(); }
+ _SeqFldLstElem* operator[](size_t nIndex) { return maData[nIndex]; }
+ const _SeqFldLstElem* operator[](size_t nIndex) const { return maData[nIndex]; }
void Clear() { maData.clear(); }
};
@@ -177,7 +177,7 @@ public:
sal_uInt16 SetSeqRefNo( SwSetExpField& rFld );
- sal_uInt16 GetSeqFldList( SwSeqFldList& rList );
+ size_t GetSeqFldList( SwSeqFldList& rList );
OUString MakeSeqName( sal_uInt16 nSeqNo );
/// Number sequence fields chapterwise if required.