Kaydet (Commit) 174ba855 authored tarafından Caolán McNamara's avatar Caolán McNamara

fix assert on load of fdo82018-3.docx

apparently arises when lacking font to display it

Change-Id: I934e43668f2f4d9c4e96736c004dfb0c250ef191
üst c3e965da
......@@ -318,6 +318,10 @@ bool SwTxtGuess::Guess( const SwTxtPortion& rPor, SwTxtFormatInfo &rInf,
rInf.GetIdx() - nFieldDiff - 1:
0;
if ( nLangIndex > nDoNotStepOver &&
rInf.GetTxt().getLength() == nLangIndex )
--nLangIndex;
while ( nLangIndex > nDoNotStepOver &&
! rCC.isLetterNumeric( rInf.GetTxt(), nLangIndex ) )
--nLangIndex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment