Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | crash in FR version when typing / as first character | ||
---|---|---|---|
Product: | Writer | Reporter: | jbf.faure |
Component: | editing | Assignee: | oliver.bolte |
Status: | CLOSED FIXED | QA Contact: | issues@sw <issues> |
Severity: | Trivial | ||
Priority: | P2 | CC: | issues, mdxonefour, niklas.nebel, oc, stefan.baltzer, vitriol_vitriol |
Version: | OOo 3.3 RC6 | Keywords: | regression |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Issue Depends on: | |||
Issue Blocks: | 111112 |
Description
jbf.faure
2010-11-24 22:15:41 UTC
regression keyword set. priority P2 set Adding me to CC SBA->OS: Please proceed, thx. adjusting target to 3.3 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 Fixed with changeset 272034:12b46f9bb0ec for OOO330_m17. Verified in OOO330_m17. closed. |