[Libreoffice-commits] core.git: sw/source

Samuel Mehrbrodt s.mehrbrodt at gmail.com
Thu Nov 14 04:10:47 PST 2013


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

New commits:
commit 083114bb132b879cfb899361ece375c8580ae505
Author: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>
Date:   Fri Nov 1 10:49:03 2013 +0100

    fdo#63819 Ctrl+Backspace also deletes the space before the word
    
    Change-Id: I147e8632c36ac0755a539d89ea5d34207839ea7c
    Reviewed-on: https://gerrit.libreoffice.org/6518
    Reviewed-by: Andrzej J.R. Hunt <andrzej at ahunt.org>
    Tested-by: Andrzej J.R. Hunt <andrzej at ahunt.org>
    Reviewed-by: Björn Michaelsen <bjoern.michaelsen at canonical.com>

diff --git a/sw/source/ui/wrtsh/delete.cxx b/sw/source/ui/wrtsh/delete.cxx
index 79a9484..efd11fa 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;
 


More information about the Libreoffice-commits mailing list