summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/gridwin5.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/gridwin5.cxx')
-rw-r--r--sc/source/ui/view/gridwin5.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/gridwin5.cxx b/sc/source/ui/view/gridwin5.cxx
index a77ece6d81be..032d84a3c230 100644
--- a/sc/source/ui/view/gridwin5.cxx
+++ b/sc/source/ui/view/gridwin5.cxx
@@ -81,7 +81,7 @@ bool ScGridWindow::ShowNoteMarker( SCCOL nPosX, SCROW nPosY, bool bKeyboard )
else if ( eType == SC_CAT_DELETE_COLS )
aRange.aEnd.SetCol( aRange.aStart.Col() );
- if ( aRange.In( aCellPos ) )
+ if ( aRange.Contains( aCellPos ) )
{
pFound = pAction; // the last one wins
switch ( eType )
@@ -104,7 +104,7 @@ bool ScGridWindow::ShowNoteMarker( SCCOL nPosX, SCROW nPosY, bool bKeyboard )
ScRange aRange =
static_cast<const ScChangeActionMove*>(pAction)->
GetFromRange().MakeRange();
- if ( aRange.In( aCellPos ) )
+ if ( aRange.Contains( aCellPos ) )
{
pFound = pAction;
}