summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undotab.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undotab.cxx')
-rw-r--r--sc/source/ui/undo/undotab.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx
index f74667f17456..97d76a0f0869 100644
--- a/sc/source/ui/undo/undotab.cxx
+++ b/sc/source/ui/undo/undotab.cxx
@@ -500,7 +500,7 @@ void ScUndoMoveTab::DoChange( bool bUndo ) const
{
size_t i = mpNewTabs->size();
std::unique_ptr<ScProgress> pProgress(new ScProgress(pDocShell , ScGlobal::GetRscString(STR_UNDO_MOVE_TAB),
- i * rDoc.GetCodeCount()));
+ i * rDoc.GetCodeCount(), true));
for (; i > 0; --i)
{
SCTAB nDestTab = (*mpNewTabs)[i-1];
@@ -522,7 +522,7 @@ void ScUndoMoveTab::DoChange( bool bUndo ) const
{
size_t n = mpNewTabs->size();
std::unique_ptr<ScProgress> pProgress(new ScProgress(pDocShell , ScGlobal::GetRscString(STR_UNDO_MOVE_TAB),
- n * rDoc.GetCodeCount()));
+ n * rDoc.GetCodeCount(), true));
for (size_t i = 0; i < n; ++i)
{
SCTAB nDestTab = (*mpNewTabs)[i];