To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115774


User os changed the following:

                What    |Old value                 |New value
================================================================================
             Assigned to|os                        |obo
--------------------------------------------------------------------------------




------- Additional comments from o...@openoffice.org Thu Nov 25 12:25:51 +0000 
2010 -------
Inserting a slash at the beginning of a French paragraph results in a search for
characters at negative string positions. 

The proposed patch looks like that:

diff -r 3f116e7d913d editeng/source/misc/svxacorr.cxx
--- a/editeng/source/misc/svxacorr.cxx  Tue Nov 23 10:41:33 2010 +0100
+++ b/editeng/source/misc/svxacorr.cxx  Thu Nov 25 13:22:59 2010 +0100
@@ -701,7 +701,7 @@
                     bRunNext = true;
             }
         }
-        else if ( cChar == '/' )
+        else if ( cChar == '/' && nEndPos > 1 && rTxt.Len() > nEndPos )
         {
             // Remove the hardspace right before to avoid formatting URLs
             sal_Unicode cPrevChar = rTxt.GetChar( nEndPos - 1 );

reassigned to obo to apply in master

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to