summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewdata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/viewdata.cxx')
-rw-r--r--sc/source/ui/view/viewdata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index d95a5cf12d9d..10aedf7eb3fc 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -1131,7 +1131,7 @@ ScMarkType ScViewData::GetSimpleArea( ScRange & rRange, ScMarkData & rNewMark )
if ( rNewMark.IsMarked() && !rNewMark.IsMultiMarked() )
{
rNewMark.GetMarkArea( rRange );
- if (ScViewUtil::HasFiltered( rRange, &GetDocument()))
+ if (ScViewUtil::HasFiltered(rRange, GetDocument()))
eMarkType = SC_MARK_SIMPLE_FILTERED;
else
eMarkType = SC_MARK_SIMPLE;