diff options
author | Rene Engelhard <rene@debian.org> | 2010-11-26 17:41:54 +0100 |
---|---|---|
committer | Rene Engelhard <rene@debian.org> | 2010-11-26 17:41:54 +0100 |
commit | 2dda128c4063a124cbbecdeecd34e4b11a927657 (patch) | |
tree | 80209be845f5a237537de182cf5ef75a3495022c /editeng | |
parent | 32fc42d7bb053cdd074913ba74cdf6da5188ede9 (diff) | |
parent | 406dec43952fa9a7afa55738c6e7df317ad26275 (diff) |
Merge commit 'ooo/OOO330_m17' into libreoffice-3-3
Diffstat (limited to 'editeng')
-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 fb9be2fc3911..cd0f5a66fbf3 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -700,7 +700,7 @@ BOOL SvxAutoCorrect::FnAddNonBrkSpace( bRunNext = true; } } - else if (cChar == '/' && nEndPos >= 2) + 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 ); |