diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-06-03 06:03:40 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-06-03 06:03:40 +0200 |
commit | ea7fe02f4d149466bb2170b4bf0a45676936112b (patch) | |
tree | 4487bf54ce2f85345bce570cf6e21a9b8a9d570f /sc/inc/column.hxx | |
parent | d4a8a64c218a4640e9701356aa87701d5a80589b (diff) |
improve performance of ScUndoInsertTables::Undo
we can now insert several sheets and then undo in nearly no time
Diffstat (limited to 'sc/inc/column.hxx')
-rw-r--r-- | sc/inc/column.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index b2c202a93031..6ce3bed4639e 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -292,7 +292,7 @@ public: ScDocument* pUndoDoc = NULL ); void UpdateInsertTab( SCTAB nTable, SCTAB nNewSheets = 1); void UpdateInsertTabOnlyCells( SCTAB nTable, SCTAB nNewSheets = 1); - void UpdateDeleteTab( SCTAB nTable, bool bIsMove, ScColumn* pRefUndo = NULL ); + void UpdateDeleteTab( SCTAB nTable, bool bIsMove, ScColumn* pRefUndo = NULL, SCTAB nSheets = 1 ); void UpdateMoveTab(SCTAB nOldPos, SCTAB nNewPos, SCTAB nTabNo); void UpdateCompile( bool bForceIfNameInUse = false ); void UpdateTranspose( const ScRange& rSource, const ScAddress& rDest, |