diff options
-rw-r--r-- | sc/source/ui/undo/undoblk.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/undo/undoblk3.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/undo/undodat.cxx | 9 | ||||
-rw-r--r-- | sc/source/ui/undo/undotab.cxx | 2 |
4 files changed, 1 insertions, 15 deletions
diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx index 83459c5ffe65..96a8bee02f70 100644 --- a/sc/source/ui/undo/undoblk.cxx +++ b/sc/source/ui/undo/undoblk.cxx @@ -1691,7 +1691,6 @@ void ScUndoEnterMatrix::Redo() pDoc->InsertMatrixFormula( aBlockRange.aStart.Col(), aBlockRange.aStart.Row(), aBlockRange.aEnd.Col(), aBlockRange.aEnd.Row(), aDestMark, aFormula ); -// pDocShell->PostPaint( aBlockRange, PAINT_GRID ); // not needed ??? SetChangeTrack(); diff --git a/sc/source/ui/undo/undoblk3.cxx b/sc/source/ui/undo/undoblk3.cxx index a8895efaf89a..339b6910dda4 100644 --- a/sc/source/ui/undo/undoblk3.cxx +++ b/sc/source/ui/undo/undoblk3.cxx @@ -790,10 +790,6 @@ void ScUndoAutoFormat::Undo() ScDocument* pDoc = pDocShell->GetDocument(); - // Attribute -// pDoc->DeleteAreaTab( aBlockRange, IDF_ATTRIB ); -// pUndoDoc->CopyToDocument( aBlockRange, IDF_ATTRIB, sal_False, pDoc ); - SCTAB nTabCount = pDoc->GetTableCount(); pDoc->DeleteArea( aBlockRange.aStart.Col(), aBlockRange.aStart.Row(), aBlockRange.aEnd.Col(), aBlockRange.aEnd.Row(), diff --git a/sc/source/ui/undo/undodat.cxx b/sc/source/ui/undo/undodat.cxx index fd5f56e13d24..ef2bf7a5ea98 100644 --- a/sc/source/ui/undo/undodat.cxx +++ b/sc/source/ui/undo/undodat.cxx @@ -1285,9 +1285,6 @@ void ScUndoImportData::Undo() ScUndoUtil::MarkSimpleBlock( pDocShell, nCol1, nRow1, nTable, nCol2, nRow2, nTable ); } -// erack! it's broadcasted -// pDoc->SetDirty(); - SCTAB nVisTab = pViewShell->GetViewData()->GetTabNo(); if ( nVisTab != nTab ) pViewShell->SetTabNo( nTab ); @@ -1357,9 +1354,6 @@ void ScUndoImportData::Redo() ScUndoUtil::MarkSimpleBlock( pDocShell, nCol1, nRow1, nTable, nCol2, nRow2, nTable ); } -// erack! it's broadcasted -// pDoc->SetDirty(); - SCTAB nVisTab = pViewShell->GetViewData()->GetTabNo(); if ( nVisTab != nTab ) pViewShell->SetTabNo( nTab ); @@ -1522,9 +1516,6 @@ void ScUndoRepeatDB::Undo() if (pUndoDB) pDoc->SetDBCollection( new ScDBCollection( *pUndoDB ), sal_True ); -// erack! it's broadcasted -// pDoc->SetDirty(); - SCTAB nVisTab = pViewShell->GetViewData()->GetTabNo(); if ( nVisTab != nTab ) pViewShell->SetTabNo( nTab ); diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx index 65691391d69b..4818818738e6 100644 --- a/sc/source/ui/undo/undotab.cxx +++ b/sc/source/ui/undo/undotab.cxx @@ -273,7 +273,7 @@ sal_Bool ScUndoInsertTables::CanRepeat(SfxRepeatTarget& rTarget) const return (rTarget.ISA(ScTabViewTarget)); } -ScUndoDeleteTab::ScUndoDeleteTab( ScDocShell* pNewDocShell, const vector<SCTAB> &aTab, //SCTAB nNewTab, +ScUndoDeleteTab::ScUndoDeleteTab( ScDocShell* pNewDocShell, const vector<SCTAB> &aTab, ScDocument* pUndoDocument, ScRefUndoData* pRefData ) : ScMoveUndo( pNewDocShell, pUndoDocument, pRefData, SC_UNDO_REFLAST ) { |