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

sal_uInt16 to sal_Int32

Change-Id: I66590e783bd36c7ae4cee19bd3b89864eb37e345
üst 824d78b5
...@@ -698,7 +698,7 @@ lcl_ExportHints( ...@@ -698,7 +698,7 @@ lcl_ExportHints(
SwDoc* pDoc = pUnoCrsr->GetDoc(); SwDoc* pDoc = pUnoCrsr->GetDoc();
//search for special text attributes - first some ends //search for special text attributes - first some ends
size_t nEndIndex = 0; size_t nEndIndex = 0;
sal_uInt16 nNextEnd = 0; sal_Int32 nNextEnd = 0;
while(nEndIndex < pHints->GetEndCount() && while(nEndIndex < pHints->GetEndCount() &&
(!pHints->GetEnd(nEndIndex)->GetEnd() || (!pHints->GetEnd(nEndIndex)->GetEnd() ||
nCurrentIndex >= (nNextEnd = (*pHints->GetEnd(nEndIndex)->GetEnd())))) nCurrentIndex >= (nNextEnd = (*pHints->GetEnd(nEndIndex)->GetEnd()))))
...@@ -781,7 +781,7 @@ lcl_ExportHints( ...@@ -781,7 +781,7 @@ lcl_ExportHints(
// then some starts // then some starts
size_t nStartIndex = 0; size_t nStartIndex = 0;
sal_uInt16 nNextStart = 0; sal_Int32 nNextStart = 0;
while(nStartIndex < pHints->GetStartCount() && while(nStartIndex < pHints->GetStartCount() &&
nCurrentIndex >= (nNextStart = pHints->GetStart(nStartIndex)->GetStart())) nCurrentIndex >= (nNextStart = pHints->GetStart(nStartIndex)->GetStart()))
{ {
......
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