summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/docshell/docsh3.cxx')
-rw-r--r--sc/source/ui/docshell/docsh3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index bc49bca0a165..2d24fde231ed 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -595,7 +595,7 @@ ScChangeAction* ScDocShell::GetChangeAction( const ScAddress& rPos )
else if ( eType == SC_CAT_DELETE_COLS )
aRange.aEnd.SetCol( aRange.aStart.Col() );
- if ( aRange.In( rPos ) )
+ if ( aRange.Contains( rPos ) )
{
pFound = pAction; // the last one wins
}
@@ -605,7 +605,7 @@ ScChangeAction* ScDocShell::GetChangeAction( const ScAddress& rPos )
ScRange aRange =
static_cast<const ScChangeActionMove*>(pAction)->
GetFromRange().MakeRange();
- if ( aRange.In( rPos ) )
+ if ( aRange.Contains( rPos ) )
{
pFound = pAction;
}