summaryrefslogtreecommitdiff
path: root/sw/source/ui/wrtsh/delete.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/wrtsh/delete.cxx')
-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 79a948480c74..efd11fac7b2b 100644
--- a/sw/source/ui/wrtsh/delete.cxx
+++ b/sw/source/ui/wrtsh/delete.cxx
@@ -521,8 +521,8 @@ long SwWrtShell::DelPrvWord()
{
if ( _PrvWrdForDelete() ) // #i92468#
{
- // skip over all-1 spaces
- short n = -1;
+ // skip over all spaces
+ short n = 0;
while( ' ' == GetChar( sal_False, n ))
--n;