Kaydet (Commit) f8d2c638 authored tarafından Matteo Casalin's avatar Matteo Casalin

sal_uInt16 to size_t

Change-Id: I25e92cc92aaa2b5b808b7c369101055b5f77aff3
üst 38b4fe56
...@@ -1156,12 +1156,12 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException, ...@@ -1156,12 +1156,12 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
case FN_UNO_REDLINE_NODE_END: case FN_UNO_REDLINE_NODE_END:
{ {
const SwRedlineTbl& rRedTbl = GetDoc()->GetRedlineTbl(); const SwRedlineTbl& rRedTbl = GetDoc()->GetRedlineTbl();
const sal_uInt16 nRedTblCount = rRedTbl.size(); const size_t nRedTblCount = rRedTbl.size();
if (nRedTblCount > 0) if (nRedTblCount > 0)
{ {
SwStartNode const*const pStartNode = GetStartNode(); SwStartNode const*const pStartNode = GetStartNode();
const sal_uLong nOwnIndex = pStartNode->EndOfSectionIndex(); 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]; SwRangeRedline const*const pRedline = rRedTbl[nRed];
SwPosition const*const pRedStart = pRedline->Start(); SwPosition const*const pRedStart = pRedline->Start();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment