Commits

obo  committed 12b46f9

masterfix OOO330: #i115774# crash in FR version when typing / as first character

  • Participants
  • Parent commits b1c4d07
  • Tags OOO330_m17

Comments (0)

Files changed (1)

File editeng/source/misc/svxacorr.cxx

                     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 );