Lines Matching refs:nDestTab
570 SCTAB nDestTab = theNewTabs[i - 1]; in DoChange() local
572 if (nDestTab > MAXTAB) // append ? in DoChange()
573 nDestTab = pDoc->GetTableCount() - 1; in DoChange()
575 pDoc->MoveTab( nDestTab, nOldTab ); in DoChange()
576 pViewShell->GetViewData()->MoveTab( nDestTab, nOldTab ); in DoChange()
584 SCTAB nDestTab = theNewTabs[i]; in DoChange() local
587 if (nDestTab > MAXTAB) // append ? in DoChange()
588 nDestTab = pDoc->GetTableCount() - 1; in DoChange()
592 pViewShell->SetTabNo( nDestTab, sal_True ); in DoChange()
673 SCTAB nDestTab = theNewTabs[i - 1]; in Undo() local
674 if (nDestTab > MAXTAB) // append? in Undo()
675 nDestTab = pDoc->GetTableCount() - 1; in Undo()
678 pDoc->DeleteTab(nDestTab); in Undo()
687 SCTAB nDestTab = theNewTabs[i - 1]; in Undo() local
688 if (nDestTab > MAXTAB) // append? in Undo()
689 nDestTab = pDoc->GetTableCount() - 1; in Undo()
691 pDocShell->Broadcast( ScTablesHint( SC_TAB_DELETED, nDestTab ) ); in Undo()
702 SCTAB nDestTab = 0; in Redo() local
705 nDestTab = theNewTabs[i]; in Redo()
708 if (nDestTab > MAXTAB) // append ? in Redo()
709 nDestTab = pDoc->GetTableCount() - 1; in Redo()
741 pViewShell->SetTabNo( nDestTab, sal_True ); // after draw-undo in Redo()
842 nDestTab( nDest ), in ScUndoMakeScenario()
869 pDoc->DeleteTab( nDestTab ); in Undo()
875 pDocShell->PostPaint(0,0,nDestTab,MAXCOL,MAXROW,MAXTAB, PAINT_ALL); in Undo()
904 pViewShell->SetTabNo( nDestTab, sal_True ); in Redo()