summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorRegina Henschel <regina@apache.org>2014-10-19 19:12:17 +0000
committerRegina Henschel <regina@apache.org>2014-10-19 19:12:17 +0000
commita92c8ad51f2b75a3ae40f171cb5445c2d6791c08 (patch)
treed9bbc18cd1b84bb2f91814bb7a44e5e4436a6f0a /sw
parentb8186703cb43d2b57460cb23a7a4e3f989e95426 (diff)
#i23872 Delete the space with ctrl-backspace consistent
Author: Samuel Mehrbrodt s.mehrbrodt@gmail.com transfer to AOO: Volkan volkangezer@gmail.com
Notes
Notes: prefer: 083114bb132b879cfb899361ece375c8580ae505
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/wrtsh/delete.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/wrtsh/delete.cxx b/sw/source/ui/wrtsh/delete.cxx
index 10e63e4eab49..7cc61404f66e 100644
--- a/sw/source/ui/wrtsh/delete.cxx
+++ b/sw/source/ui/wrtsh/delete.cxx
@@ -548,8 +548,8 @@ long SwWrtShell::DelPrvWord()
{
if ( _PrvWrdForDelete() ) // --> OD 2008-08-06 #i92468#
{
- // skip over all-1 spaces
- short n = -1;
+ // skip over all spaces
+ short n = 0;
while( ' ' == GetChar( sal_False, n ))
--n;