summaryrefslogtreecommitdiff
path: root/sc/inc/table.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-05-27 05:16:37 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-05-27 05:16:37 +0200
commitc70b1baac5b6b85048c894c206b8024e1eb537f3 (patch)
treeedc5885ba5721d386bfeff6ad317cb2fcaa7733c /sc/inc/table.hxx
parent2b8c2cfaba21f5ac70b6520f69ea146579e4093d (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/table.hxx')
-rw-r--r--sc/inc/table.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index ce94873da422..1ed9d4ccd206 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -476,7 +476,7 @@ public:
void UpdateGrow( const ScRange& rArea, SCCOL nGrowX, SCROW nGrowY );
- void UpdateInsertTab(SCTAB nTable);
+ void UpdateInsertTab(SCTAB nTable, SCTAB nNewSheets = 1);
void UpdateDeleteTab( SCTAB nTable, sal_Bool bIsMove, ScTable* pRefUndo = NULL );
void UpdateMoveTab(SCTAB nOldPos, SCTAB nNewPos, SCTAB nTabNo, ScProgress& );
void UpdateCompile( sal_Bool bForceIfNameInUse = false );