summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undobase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undobase.cxx')
-rw-r--r--sc/source/ui/undo/undobase.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/undo/undobase.cxx b/sc/source/ui/undo/undobase.cxx
index 6198c87c7c7a..d88d29d71b53 100644
--- a/sc/source/ui/undo/undobase.cxx
+++ b/sc/source/ui/undo/undobase.cxx
@@ -388,7 +388,7 @@ void ScMultiBlockUndo::ShowBlock()
return;
// Move to the sheet of the first range.
- ScRange aRange = *maBlockRanges.front();
+ ScRange aRange = maBlockRanges.front();
ShowTable(aRange);
pViewShell->MoveCursorAbs(
aRange.aStart.Col(), aRange.aStart.Row(), SC_FOLLOW_JUMP, false, false);
@@ -399,7 +399,7 @@ void ScMultiBlockUndo::ShowBlock()
for (size_t i = 1, n = maBlockRanges.size(); i < n; ++i)
{
- aRange = *maBlockRanges[i];
+ aRange = maBlockRanges[i];
aRange.aStart.SetTab(nTab);
aRange.aEnd.SetTab(nTab);
pViewShell->MarkRange(aRange, false, true);