Lines Matching refs:pNew

254     const SwTOXMark*    pNew    = 0;  in GotoTOXMark()  local
291 (!pNew || in GotoTOXMark()
292 (pNew && (aPrevPos < aAbsIdx || in GotoTOXMark()
293 sal_uLong(pNew) < sal_uLong(pTOXMark)))))) || in GotoTOXMark()
295 sal_uLong(pTOXMark) > sal_uLong(pNew)) ) in GotoTOXMark()
297 pNew = pTOXMark; in GotoTOXMark()
316 (!pNew || in GotoTOXMark()
317 (pNew && (aNextPos > aAbsIdx || in GotoTOXMark()
318 sal_uLong(pNew) > sal_uLong(pTOXMark)))))) || in GotoTOXMark()
320 sal_uLong(pTOXMark) < sal_uLong(pNew)) ) in GotoTOXMark()
322 pNew = pTOXMark; in GotoTOXMark()
338 if(!pNew) in GotoTOXMark()
344 pNew = pMax; in GotoTOXMark()
348 pNew = pMin; in GotoTOXMark()
351 pNew = &rCurTOXMark; in GotoTOXMark()
354 return *pNew; in GotoTOXMark()
647 SwTOXType * pNew = new SwTOXType( rTyp ); in InsertTOXType() local
648 pTOXTypes->Insert( pNew, pTOXTypes->Count() ); in InsertTOXType()
649 return pNew; in InsertTOXType()
1289 SwTOXPara * pNew = new SwTOXPara( *pTxtNd, nsSwTOXElement::TOX_OUTLINELEVEL ); in UpdateOutline() local
1290 InsertSorted( pNew ); in UpdateOutline()
1329 … SwTOXPara * pNew = new SwTOXPara( *pTxtNd, nsSwTOXElement::TOX_TEMPLATE, i + 1 ); in UpdateTemplate() local
1330 InsertSorted(pNew); in UpdateTemplate()
1361 SwTOXPara * pNew = new SwTOXPara( rTxtNode, nsSwTOXElement::TOX_SEQUENCE, 1 ); in UpdateSequence() local
1365 pNew->SetStartIndex( in UpdateSequence()
1370 pNew->SetEndIndex(*pTxtFld->GetStart() + 1); in UpdateSequence()
1372 InsertSorted(pNew); in UpdateSequence()
1408 SwTOXAuthority* pNew = new SwTOXAuthority( *pTxtNode, *pFmtFld, rIntl ); in UpdateAuthorities() local
1410 InsertSorted(pNew); in UpdateAuthorities()
1552 SwTOXPara * pNew = in UpdateCntnt() local
1557 InsertSorted( pNew ); in UpdateCntnt()
1595 SwTOXTable * pNew = new SwTOXTable( *pCNd ); in UpdateTable() local
1604 pNew->SetLevel( static_cast< sal_uInt16 >( nTmp ) ); in UpdateTable()
1608 InsertSorted( pNew ); in UpdateTable()
2231 void SwTOXBaseSection::InsertSorted(SwTOXSortTabBase* pNew) in InsertSorted() argument
2234 if( TOX_INDEX == SwTOXBase::GetType() && pNew->pTxtMark ) in InsertSorted()
2236 const SwTOXMark& rMark = pNew->pTxtMark->GetTOXMark(); in InsertSorted()
2244 *pNew, FORM_PRIMARY_KEY, aRange ); in InsertSorted()
2249 *pNew, FORM_SECONDARY_KEY, aRange ); in InsertSorted()
2258 if(*pOld == *pNew) in InsertSorted()
2260 if(*pOld < *pNew) in InsertSorted()
2262 delete pNew; in InsertSorted()
2284 if(*pOld == *pNew) in InsertSorted()
2291 pNew->GetOptions() & nsSwTOIOptions::TOI_KEY_AS_ENTRY) in InsertSorted()
2294 if(!(pNew->GetOptions() & nsSwTOIOptions::TOI_SAME_ENTRY)) in InsertSorted()
2296 aSortArr.Insert(pNew, i ); in InsertSorted()
2300 pOld->aTOXSources.Insert( pNew->aTOXSources[0], in InsertSorted()
2303 delete pNew; in InsertSorted()
2311 if(*pNew < *pOld) in InsertSorted()
2316 aSortArr[i]->GetLevel() > pNew->GetLevel() ) in InsertSorted()
2320 aSortArr.Insert(pNew, i ); in InsertSorted()