diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-05-27 05:16:37 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-05-27 05:16:37 +0200 |
commit | c70b1baac5b6b85048c894c206b8024e1eb537f3 (patch) | |
tree | edc5885ba5721d386bfeff6ad317cb2fcaa7733c /sc/inc/column.hxx | |
parent | 2b8c2cfaba21f5ac70b6520f69ea146579e4093d (diff) |
rework some other methods for performance improvements
inserting several sheets now happens at once and not for every sheet seperately, this accelerates inserting of sheets at all positions dramatically
Diffstat (limited to 'sc/inc/column.hxx')
-rw-r--r-- | sc/inc/column.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index c06d4786a286..b2c202a93031 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -290,8 +290,8 @@ public: SCCOL nCol2, SCROW nRow2, SCTAB nTab2, SCsCOL nDx, SCsROW nDy, SCsTAB nDz, ScDocument* pUndoDoc = NULL ); - void UpdateInsertTab( SCTAB nTable); - void UpdateInsertTabOnlyCells( SCTAB nTable); + void UpdateInsertTab( SCTAB nTable, SCTAB nNewSheets = 1); + void UpdateInsertTabOnlyCells( SCTAB nTable, SCTAB nNewSheets = 1); void UpdateDeleteTab( SCTAB nTable, bool bIsMove, ScColumn* pRefUndo = NULL ); void UpdateMoveTab(SCTAB nOldPos, SCTAB nNewPos, SCTAB nTabNo); void UpdateCompile( bool bForceIfNameInUse = false ); |