summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh/move.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/wrtsh/move.cxx')
-rw-r--r--sw/source/uibase/wrtsh/move.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/wrtsh/move.cxx b/sw/source/uibase/wrtsh/move.cxx
index 933bdba0f57b..95443ba16ca7 100644
--- a/sw/source/uibase/wrtsh/move.cxx
+++ b/sw/source/uibase/wrtsh/move.cxx
@@ -436,7 +436,7 @@ bool SwWrtShell::PushCursor(SwTwips lOffset, bool bSelect)
//position is longer on the stack.
//The new visible region is to be determined beforehand.
aTmpArea.Pos().AdjustY(lOffset );
- if( aTmpArea.IsInside(m_aDest) )
+ if( aTmpArea.Contains(m_aDest) )
{
if( bSelect )
SttSelect();
@@ -494,7 +494,7 @@ bool SwWrtShell::PopCursor(bool bUpdate, bool bSelect)
// use the flag for a valid position.
SwRect aTmpArea(VisArea());
aTmpArea.Pos().AdjustY( -(m_pCursorStack->lOffset) );
- if( aTmpArea.IsInside( m_pCursorStack->aDocPos ) )
+ if( aTmpArea.Contains( m_pCursorStack->aDocPos ) )
{
if( bSelect )
SttSelect();