diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-05-04 10:41:32 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-05-10 16:08:53 +0200 |
commit | f8d2c6386b1ca3c7f81c816dfcc5023dc6cbb485 (patch) | |
tree | e1d1138f03368781372d8d9ad5b5291f3a66f2e6 /sw | |
parent | 38b4fe56499ad30c4e57fdddd5c7957191e8a348 (diff) |
sal_uInt16 to size_t
Change-Id: I25e92cc92aaa2b5b808b7c369101055b5f77aff3
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unotext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx index f364a2856d90..8184230731b2 100644 --- a/sw/source/core/unocore/unotext.cxx +++ b/sw/source/core/unocore/unotext.cxx @@ -1156,12 +1156,12 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException, case FN_UNO_REDLINE_NODE_END: { const SwRedlineTbl& rRedTbl = GetDoc()->GetRedlineTbl(); - const sal_uInt16 nRedTblCount = rRedTbl.size(); + const size_t nRedTblCount = rRedTbl.size(); if (nRedTblCount > 0) { SwStartNode const*const pStartNode = GetStartNode(); const sal_uLong nOwnIndex = pStartNode->EndOfSectionIndex(); - for (sal_uInt16 nRed = 0; nRed < nRedTblCount; nRed++) + for (size_t nRed = 0; nRed < nRedTblCount; ++nRed) { SwRangeRedline const*const pRedline = rRedTbl[nRed]; SwPosition const*const pRedStart = pRedline->Start(); |