summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-06-01 19:12:54 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-06-01 20:20:00 +0200
commitdded2e25491212026a341ed636d4d984067c988c (patch)
treef9e208527fb9d59dbddf263447eb8a63bd605aa0 /sw
parent63b902175b58b65fb6f385cd084d55d6ac02da17 (diff)
sal_uInt16 to size_t
Change-Id: Ia8795223224a6d2772f12ad41d7691517db80714
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/undo/untblk.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/undo/untblk.cxx b/sw/source/core/undo/untblk.cxx
index df6233437ee2..6a35fe2d9b4b 100644
--- a/sw/source/core/undo/untblk.cxx
+++ b/sw/source/core/undo/untblk.cxx
@@ -50,8 +50,8 @@ SwUndoInserts::SwUndoInserts( SwUndoId nUndoId, const SwPaM& rPam )
if( !nSttCntnt ) // than take the Flys along
{
- sal_uInt16 nArrLen = pDoc->GetSpzFrmFmts()->size();
- for( sal_uInt16 n = 0; n < nArrLen; ++n )
+ const size_t nArrLen = pDoc->GetSpzFrmFmts()->size();
+ for( size_t n = 0; n < nArrLen; ++n )
{
SwFrmFmt* pFmt = (*pDoc->GetSpzFrmFmts())[n];
SwFmtAnchor const*const pAnchor = &pFmt->GetAnchor();
@@ -103,8 +103,8 @@ void SwUndoInserts::SetInsertRange( const SwPaM& rPam, bool bScanFlys,
{
// than collect all new Flys
SwDoc* pDoc = (SwDoc*)rPam.GetDoc();
- sal_uInt16 nArrLen = pDoc->GetSpzFrmFmts()->size();
- for( sal_uInt16 n = 0; n < nArrLen; ++n )
+ const size_t nArrLen = pDoc->GetSpzFrmFmts()->size();
+ for( size_t n = 0; n < nArrLen; ++n )
{
SwFrmFmt* pFmt = (*pDoc->GetSpzFrmFmts())[n];
SwFmtAnchor const*const pAnchor = &pFmt->GetAnchor();