summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/prevloc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/prevloc.cxx')
-rw-r--r--sc/source/ui/view/prevloc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/prevloc.cxx b/sc/source/ui/view/prevloc.cxx
index 83538f0b21e8..67505e651483 100644
--- a/sc/source/ui/view/prevloc.cxx
+++ b/sc/source/ui/view/prevloc.cxx
@@ -270,7 +270,7 @@ static ScPreviewLocationEntry* lcl_GetEntryByAddress(
{
for (auto const& it : rEntries)
{
- if ( it->eType == eType && it->aCellRange.In( rPos ) )
+ if ( it->eType == eType && it->aCellRange.Contains( rPos ) )
return it.get();
}