Sorry here is the patch.

On Wed, Jun 1, 2011 at 1:18 PM, jeffrey chang <jeffdch...@gmail.com> wrote:

> Hi,
>
> I am new to the LibreOffice community. I know that 34786 has been posted
> for awhile, but no one seems to have claimed the bug and the error was still
> reproducible in writer so I decided to take up the bug as my first EasyHack.
> I seemed to have fixed the problem of deleting to the beginning of the
> sentence by making a simple change in wrtsh4.cxx (See Patch). After
> re-making sw and testing in writer the problem seems fixed. The patch is on
> LO version 3.4.0.2 because one of the recent masters that I pulled was
> unstable.
>
> Thanks,
> --
> --Jeffrey Chang
>



-- 
--Jeffrey Chang
From 852d8c68d95b0644a3c10e7b417ab0b9a7330e6a Mon Sep 17 00:00:00 2001
From: jeffrey <jeff...@linux-ow08.site>
Date: Wed, 1 Jun 2011 23:22:17 +0800
Subject: [PATCH] Made changes to fix sentence delete in bug 34786.

---
 sw/source/ui/wrtsh/wrtsh4.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sw/source/ui/wrtsh/wrtsh4.cxx b/sw/source/ui/wrtsh/wrtsh4.cxx
index 9469ff2..f455338 100644
--- a/sw/source/ui/wrtsh/wrtsh4.cxx
+++ b/sw/source/ui/wrtsh/wrtsh4.cxx
@@ -235,7 +235,7 @@ sal_Bool SwWrtShell::_BwdSentence()
         Pop();
         return 1;
     }
-    if( !GoPrevSentence()  && !IsSttPara() )
+    if( !GoStartSentence()  && !IsSttPara() )
             // nicht gefunden --> an den Absatz Anfang
         SwCrsrShell::MovePara( fnParaCurr, fnParaStart );
     ClearMark();
-- 
1.7.3.4

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to