diff options
author | obo <obo@openoffice.org> | 2010-11-25 11:51:51 +0100 |
---|---|---|
committer | obo <obo@openoffice.org> | 2010-11-25 11:51:51 +0100 |
commit | 406dec43952fa9a7afa55738c6e7df317ad26275 (patch) | |
tree | 87e27057643e82cd40a983941ae4e1afe7b3f829 /editeng/source | |
parent | 12c1007715f214a9cb497752157a83a6d9d4b579 (diff) |
masterfix OOO330: #i115774# crash in FR version when typing / as first character
Notes
Notes:
split repo tag: libs-core_ooo/OOO330_m17
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index f969a8033f08..b7124881c90e 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -701,7 +701,7 @@ BOOL SvxAutoCorrect::FnAddNonBrkSpace( bRunNext = true; } } - else if ( cChar == '/' ) + else if ( cChar == '/' && nEndPos > 1 && rTxt.Len() > (nEndPos - 1) ) { // Remove the hardspace right before to avoid formatting URLs sal_Unicode cPrevChar = rTxt.GetChar( nEndPos - 1 ); |