summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-23 14:44:58 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-23 13:12:00 +0000
commitfd8183f7d2458fe474fe36462d2d4c23bc1d37e7 (patch)
tree38df17bd7bba2d2f10bb056438dd60d9a6530a37 /sw/source/uibase/wrtsh
parent98680db45f51296f536b9f9889f53172fa50ee8f (diff)
no point in redeclaring methods with slightly different names
Change-Id: I446ca61415e998d1f325b602cb587815af5ff425 Reviewed-on: https://gerrit.libreoffice.org/18813 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/uibase/wrtsh')
-rw-r--r--sw/source/uibase/wrtsh/delete.cxx6
-rw-r--r--sw/source/uibase/wrtsh/select.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/wrtsh/delete.cxx b/sw/source/uibase/wrtsh/delete.cxx
index 897d9e7f5f10..36cde06faa6f 100644
--- a/sw/source/uibase/wrtsh/delete.cxx
+++ b/sw/source/uibase/wrtsh/delete.cxx
@@ -488,9 +488,9 @@ long SwWrtShell::DelNxtWord()
ResetCursorStack();
EnterStdMode();
SetMark();
- if(IsEndWrd() && !IsSttWrd())
+ if(IsEndWrd() && !IsStartWord())
_NxtWrdForDelete(); // #i92468#
- if(IsSttWrd() || IsEndPara())
+ if(IsStartWord() || IsEndPara())
_NxtWrdForDelete(); // #i92468#
else
_EndWrd();
@@ -512,7 +512,7 @@ long SwWrtShell::DelPrvWord()
ResetCursorStack();
EnterStdMode();
SetMark();
- if ( !IsSttWrd() ||
+ if ( !IsStartWord() ||
!_PrvWrdForDelete() ) // #i92468#
{
if (IsEndWrd() || IsSttPara())
diff --git a/sw/source/uibase/wrtsh/select.cxx b/sw/source/uibase/wrtsh/select.cxx
index 74617336f80c..5e3acf1583e8 100644
--- a/sw/source/uibase/wrtsh/select.cxx
+++ b/sw/source/uibase/wrtsh/select.cxx
@@ -63,7 +63,7 @@ void SwWrtShell::Invalidate()
bool SwWrtShell::SelNearestWrd()
{
SwMvContext aMvContext(this);
- if( !IsInWrd() && !IsEndWrd() && !IsSttWrd() )
+ if( !IsInWord() && !IsEndWrd() && !IsStartWord() )
PrvWrd();
if( IsEndWrd() )
Left(CRSR_SKIP_CELLS, false, 1, false );