[Libreoffice-commits] core.git: Branch 'aoo/trunk' - sw/source

Regina Henschel regina at apache.org
Sun Oct 19 13:08:06 PDT 2014


 sw/source/ui/wrtsh/delete.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a92c8ad51f2b75a3ae40f171cb5445c2d6791c08
Author: Regina Henschel <regina at apache.org>
Date:   Sun Oct 19 19:12:17 2014 +0000

    #i23872 Delete the space with ctrl-backspace consistent
    
    Author: Samuel Mehrbrodt s.mehrbrodt at gmail.com
    transfer to AOO: Volkan volkangezer at gmail.com

diff --git a/sw/source/ui/wrtsh/delete.cxx b/sw/source/ui/wrtsh/delete.cxx
index 10e63e4..7cc6140 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;
 


More information about the Libreoffice-commits mailing list