Lines Matching refs:nIdx
289 sal_uInt16 nIdx = 0; in NoteRange() local
292 while( nIdx < nCount && (*pLongArr)[ nIdx ] < nMin ) in NoteRange()
293 ++nIdx; in NoteRange()
294 sal_Bool bOdd = nIdx % 2 ? sal_True : sal_False; in NoteRange()
296 if( nIdx == nCount || ( !bOdd && nMax < (*pLongArr)[ nIdx ] ) ) in NoteRange()
298 pLongArr->Insert( nMin, nIdx ); in NoteRange()
299 pLongArr->Insert( nMax, nIdx + 1 ); in NoteRange()
300 aBoolArr.insert( aBoolArr.begin() + nIdx / 2, bToggle ); in NoteRange()
304 sal_uInt16 nMaxIdx = nIdx; in NoteRange()
308 --nIdx; in NoteRange()
310 (*pLongArr)[ nIdx ] = nMin; in NoteRange()
313 DBG_ASSERT( nMaxIdx > nIdx || nMin == nMax, "NoteRange: Funny Situation." ); in NoteRange()
316 if( nMaxIdx < nIdx ) in NoteRange()
317 nMaxIdx = nIdx; in NoteRange()
323 sal_uInt16 nDiff = nMaxIdx - nIdx; in NoteRange()
324 nMaxIdx = nIdx / 2; // Ab hier ist nMaxIdx der Index im BoolArray. in NoteRange()
327 (*pLongArr).Remove( nIdx + 1, nDiff ); in NoteRange()
389 sal_uInt16 nIdx = 1; in Calc() local
392 const Point& rLast = rPol[ nIdx - 1 ]; in Calc()
393 if( nIdx == nCount ) in Calc()
394 nIdx = 0; in Calc()
395 const Point& rNext = rPol[ nIdx ]; in Calc()
416 if( !nIdx ) in Calc()
432 if( ++nIdx == nCount && !IsClosed() ) in Calc()
542 sal_uInt16 nIdx = 0; in Concat() local
548 if( nIdx == nOldCount ) in Concat()
551 pOld->Insert( pLongArr, nIdx, i, USHRT_MAX ); in Concat()
556 sal_uInt16 nLeftPos = nIdx + 1; in Concat()
572 nIdx = nRightPos + 2; in Concat()
604 nIdx = nLeftPos - 1; in Concat()