Lines Matching refs:i
204 for(int i=0;i<pNameList->Count();i++) in ~ScUndoInsertTables() local
206 pStr=pNameList->GetObject(sal::static_int_cast<sal_uInt16>(i)); in ~ScUndoInsertTables()
228 for( int i = 0; i < pNameList->Count(); i++ ) in SetChangeTrack() local
230 aRange.aStart.SetTab( sal::static_int_cast<SCTAB>( nTab + i ) ); in SetChangeTrack()
231 aRange.aEnd.SetTab( sal::static_int_cast<SCTAB>( nTab + i ) ); in SetChangeTrack()
249 for(int i=0;i<pNameList->Count();i++) in Undo() local
251 TheTabs.push_back( sal::static_int_cast<short>(nTab+i) ); in Undo()
333 for ( size_t i = 0; i < theTabs.size(); i++ ) in SetChangeTrack() local
335 aRange.aStart.SetTab( theTabs[sal::static_int_cast<sal_uInt16>(i)] ); in SetChangeTrack()
336 aRange.aEnd.SetTab( theTabs[sal::static_int_cast<sal_uInt16>(i)] ); in SetChangeTrack()
338 nTmpChangeAction, nEndChangeAction, (short) i ); in SetChangeTrack()
356 size_t i=0; in Undo() local
362 for(i=0;i<theTabs.size();i++) in Undo()
364 SCTAB nTab = theTabs[sal::static_int_cast<sal_uInt16>(i)]; in Undo()
420 for(i=0;i<theTabs.size();i++) in Undo()
422 …ocShell->Broadcast( ScTablesHint( SC_TAB_INSERTED, theTabs[sal::static_int_cast<sal_uInt16>(i)]) ); in Undo()
568 for (size_t i = theNewTabs.size(); i > 0; i--) in DoChange() local
570 SCTAB nDestTab = theNewTabs[i - 1]; in DoChange()
571 SCTAB nOldTab = theOldTabs[i - 1]; in DoChange()
582 for(size_t i=0;i<theNewTabs.size();i++) in DoChange() local
584 SCTAB nDestTab = theNewTabs[i]; in DoChange()
585 SCTAB nNewTab = theNewTabs[i]; in DoChange()
586 SCTAB nOldTab = theOldTabs[i]; in DoChange()
671 for (size_t i = theNewTabs.size(); i > 0; i--) in Undo() local
673 SCTAB nDestTab = theNewTabs[i - 1]; in Undo()
685 for (size_t i = theNewTabs.size(); i > 0; i--) in Undo() local
687 SCTAB nDestTab = theNewTabs[i - 1]; in Undo()
703 for(size_t i=0;i<theNewTabs.size();i++) in Redo() local
705 nDestTab = theNewTabs[i]; in Redo()
706 SCTAB nNewTab = theNewTabs[i]; in Redo()
707 SCTAB nOldTab = theOldTabs[i]; in Redo()
798 for (size_t i = 0; i < nTabColorCount; ++i) in DoChange() local
800 const ScUndoTabColorInfo& rTabColor = aTabColorList[i]; in DoChange()
977 SCTAB i; in Undo() local
986 for (i=0; i<nCount; i++) in Undo()
988 SCTAB nTabPos=nTab+i; in Undo()
1018 for (i=0; i<nCount; i++) in Undo()
1035 SCTAB i; in Redo() local
1036 for (i=0; i<nCount; i++) // first insert all sheets (#63304#) in Redo()
1038 SCTAB nTabPos=nTab+i; in Redo()
1044 for (i=0; i<nCount; i++) // then copy into inserted sheets in Redo()
1046 SCTAB nTabPos=nTab+i; in Redo()
1102 for (SCTAB i=0; i<nTabCount; i++) in ScUndoRemoveLink() local
1104 sal_uInt8 nMode = pDoc->GetLinkMode(i); in ScUndoRemoveLink()
1106 if (pDoc->GetLinkDoc(i) == aDocName) in ScUndoRemoveLink()
1110 aFltName = pDoc->GetLinkFlt(i); in ScUndoRemoveLink()
1111 aOptions = pDoc->GetLinkOpt(i); in ScUndoRemoveLink()
1112 nRefreshDelay = pDoc->GetLinkRefreshDelay(i); in ScUndoRemoveLink()
1116 DBG_ASSERT(aFltName == pDoc->GetLinkFlt(i) && in ScUndoRemoveLink()
1117 aOptions == pDoc->GetLinkOpt(i), in ScUndoRemoveLink()
1120 pTabs[nCount] = i; in ScUndoRemoveLink()
1122 pTabNames[nCount] = pDoc->GetLinkTab(i); in ScUndoRemoveLink()
1144 for (sal_uInt16 i=0; i<nCount; i++) in DoChange() local
1146 pDoc->SetLink( pTabs[i], pModes[i], aDocName, aFltName, aOptions, pTabNames[i], nRefreshDelay ); in DoChange()
1148 pDoc->SetLink( pTabs[i], SC_LINK_NONE, aEmpty, aEmpty, aEmpty, aEmpty, 0 ); in DoChange()