You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by re...@apache.org on 2014/10/19 21:12:17 UTC

svn commit: r1632977 - /openoffice/trunk/main/sw/source/ui/wrtsh/delete.cxx

Author: regina
Date: Sun Oct 19 19:12:17 2014
New Revision: 1632977

URL: http://svn.apache.org/r1632977
Log:
#i23872 Delete the space with ctrl-backspace consistent
Author: Samuel Mehrbrodt s.mehrbrodt@gmail.com
transfer to AOO: Volkan volkangezer@gmail.com

Modified:
    openoffice/trunk/main/sw/source/ui/wrtsh/delete.cxx

Modified: openoffice/trunk/main/sw/source/ui/wrtsh/delete.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/wrtsh/delete.cxx?rev=1632977&r1=1632976&r2=1632977&view=diff
==============================================================================
--- openoffice/trunk/main/sw/source/ui/wrtsh/delete.cxx (original)
+++ openoffice/trunk/main/sw/source/ui/wrtsh/delete.cxx Sun Oct 19 19:12:17 2014
@@ -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;