[Libreoffice-commits] .: sw/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Jun 10 03:57:52 PDT 2011
sw/source/ui/wrtsh/wrtsh4.cxx | 9 ---------
1 file changed, 9 deletions(-)
New commits:
commit 41d334ec63bd6c658374e43ce8800444032c134c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Jun 10 11:50:35 2011 +0100
Related: rhbz#689053 ctrl+shift+backspace with 1 char to the left does nothing
With 2 or more it deletes to the start of the line.
With 0 it deletes to the start of the last line.
With 1 is moves to the start of the line, and does nothing.
That doesn't make sense anyway.
diff --git a/sw/source/ui/wrtsh/wrtsh4.cxx b/sw/source/ui/wrtsh/wrtsh4.cxx
index 0e5352c..8d064af 100644
--- a/sw/source/ui/wrtsh/wrtsh4.cxx
+++ b/sw/source/ui/wrtsh/wrtsh4.cxx
@@ -200,7 +200,6 @@ sal_Bool SwWrtShell::_PrvWrdForDelete()
return sal_True;
}
-
sal_Bool SwWrtShell::_FwdSentence()
{
Push();
@@ -218,8 +217,6 @@ sal_Bool SwWrtShell::_FwdSentence()
return 1;
}
-
-
sal_Bool SwWrtShell::_BwdSentence()
{
Push();
@@ -229,11 +226,6 @@ sal_Bool SwWrtShell::_BwdSentence()
Pop(sal_False);
return 0;
}
- if(IsSttPara())
- {
- Pop();
- return 1;
- }
if( !GoStartSentence() && !IsSttPara() )
// nicht gefunden --> an den Absatz Anfang
SwCrsrShell::MovePara( fnParaCurr, fnParaStart );
@@ -242,7 +234,6 @@ sal_Bool SwWrtShell::_BwdSentence()
return 1;
}
-
sal_Bool SwWrtShell::_FwdPara()
{
Push();
More information about the Libreoffice-commits
mailing list