diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-06-06 22:35:01 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-06-06 22:35:01 +0200 |
commit | f5bbfc04b64d61b773d8ccfa22d260024db17436 (patch) | |
tree | 9bf2c7104d39c9ac4cafd063b7ae6b2db9ac698f /sc/inc | |
parent | ecd1ad1ac757e3b2ca79de1838b12a4e61145d8f (diff) |
move ScProgress out of ScDocument::MoveTab
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/document.hxx | 2 | ||||
-rw-r--r-- | sc/inc/table.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index c3d7e2dbb..f8a18a642 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -584,7 +584,7 @@ public: SC_DLLPUBLIC sal_Bool RenameTab( SCTAB nTab, const String& rName, sal_Bool bUpdateRef = sal_True, sal_Bool bExternalDocument = false ); - sal_Bool MoveTab( SCTAB nOldPos, SCTAB nNewPos ); + sal_Bool MoveTab( SCTAB nOldPos, SCTAB nNewPos, ScProgress* pProgress = NULL ); sal_Bool CopyTab( SCTAB nOldPos, SCTAB nNewPos, const ScMarkData* pOnlyMarked = NULL ); SC_DLLPUBLIC sal_uLong TransferTab(ScDocument* pSrcDoc, SCTAB nSrcPos, SCTAB nDestPos, diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index ea6034542..6d02ad531 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -478,7 +478,7 @@ public: void UpdateInsertTab(SCTAB nTable, SCTAB nNewSheets = 1); void UpdateDeleteTab( SCTAB nTable, sal_Bool bIsMove, ScTable* pRefUndo = NULL, SCTAB nSheets = 1 ); - void UpdateMoveTab(SCTAB nOldPos, SCTAB nNewPos, SCTAB nTabNo, ScProgress& ); + void UpdateMoveTab(SCTAB nOldPos, SCTAB nNewPos, SCTAB nTabNo, ScProgress* pProgress ); void UpdateCompile( sal_Bool bForceIfNameInUse = false ); void SetTabNo(SCTAB nNewTab); sal_Bool IsRangeNameInUse(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, |