summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewutil.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/viewutil.cxx')
-rw-r--r--sc/source/ui/view/viewutil.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewutil.cxx b/sc/source/ui/view/viewutil.cxx
index 8e7470f58c85..bf691f778a99 100644
--- a/sc/source/ui/view/viewutil.cxx
+++ b/sc/source/ui/view/viewutil.cxx
@@ -224,8 +224,7 @@ void ScViewUtil::UnmarkFiltered( ScMarkData& rMark, const ScDocument& rDoc )
{
rMark.MarkToMulti();
- ScRange aMultiArea;
- rMark.GetMultiMarkArea( aMultiArea );
+ const ScRange& aMultiArea = rMark.GetMultiMarkArea();
SCCOL nStartCol = aMultiArea.aStart.Col();
SCROW nStartRow = aMultiArea.aStart.Row();
SCCOL nEndCol = aMultiArea.aEnd.Col();