summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoportenum.cxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-05-25 10:33:07 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-06-01 19:32:06 +0200
commitf0d05ed0358fa41b6d67caa51c07aaf9d1520841 (patch)
treef5f483cba236f8e3406591a001ae045327655f87 /sw/source/core/unocore/unoportenum.cxx
parent88c397aaac462ccc2b800b614bfa427d71a8011a (diff)
sal_uInt16 to size_t
Change-Id: I03d205d8c11be7e5b5aca3c711dd26e52f174fff
Diffstat (limited to 'sw/source/core/unocore/unoportenum.cxx')
-rw-r--r--sw/source/core/unocore/unoportenum.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index 887b84fdc589..2b0ae04147ff 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -1032,14 +1032,14 @@ static void lcl_FillRedlineArray(
SwXRedlinePortion_ImplList& rRedArr )
{
const SwRedlineTbl& rRedTbl = rDoc.GetRedlineTbl();
- sal_uInt16 nRedTblCount = rRedTbl.size();
+ const size_t nRedTblCount = rRedTbl.size();
if ( nRedTblCount > 0 )
{
const SwPosition* pStart = rUnoCrsr.GetPoint();
const SwNodeIndex nOwnNode = pStart->nNode;
- for(sal_uInt16 nRed = 0; nRed < nRedTblCount; nRed++)
+ for(size_t nRed = 0; nRed < nRedTblCount; ++nRed)
{
const SwRangeRedline* pRedline = rRedTbl[nRed];
const SwPosition* pRedStart = pRedline->Start();