summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoportenum.cxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-07-20 17:39:59 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-07-22 23:50:42 +0200
commit05dda9a913122a7d9f5715868824c487da0d2534 (patch)
tree5bc78828fd6ac530718d3eed581b5c1c3395cc9c /sw/source/core/unocore/unoportenum.cxx
parentc5fc11de967b3bfeda5ae63746364468baa26981 (diff)
SwpHintsArray/SwpHints and related: sal_uInt16 to size_t
Change-Id: I9a7674109b05683287e12cbce6bc417b40ca5084
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 f05ccfb86c9f..24c61442acba 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -697,7 +697,7 @@ lcl_ExportHints(
Reference<XTextRange> xRef;
SwDoc* pDoc = pUnoCrsr->GetDoc();
//search for special text attributes - first some ends
- sal_uInt16 nEndIndex = 0;
+ size_t nEndIndex = 0;
sal_uInt16 nNextEnd = 0;
while(nEndIndex < pHints->GetEndCount() &&
(!pHints->GetEnd(nEndIndex)->GetEnd() ||
@@ -780,7 +780,7 @@ lcl_ExportHints(
}
// then some starts
- sal_uInt16 nStartIndex = 0;
+ size_t nStartIndex = 0;
sal_uInt16 nNextStart = 0;
while(nStartIndex < pHints->GetStartCount() &&
nCurrentIndex >= (nNextStart = pHints->GetStart(nStartIndex)->GetStart()))