https://bugs.documentfoundation.org/show_bug.cgi?id=140077

--- Comment #9 from Dave Gilbert <freedesk...@treblig.org> ---
and:
SwScriptInfo::CountCJKCharacters '承包人(全称): 重庆钢铁集团建设工程有限公司' nPos: 23 nEnd: 26
BreakIterator_Unicode::nextCharacters '承包人(全称): 重庆钢铁集团建设工程有限公司' oldStartPos:23
nStartPos: -1 nDone: 0 nCount: 1

so the nextCharacters is immediately exiting. I count 23 actual characters in
that string.

I think the 26 is coming from lcl_AddSpace in portxt.cxx:
        nPos = rInf.GetIdx();
        nEnd = rInf.GetIdx() + rPor.GetLen();

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to