huge work of removing and replacing UniString is complete and LibreOffice 4.2 has branched off. Now is a good time to remove the 16bit limits in Writer that continued to limit its paragraph length to 65535 chars. So I pushed today to master (4.3) the final set of changes to remove that limitation. Above is a screenshot showing the result. A writer document with a single paragraph containing > 100,000 characters.
This improves compatibility with MSWord which had no 64k limit on its paragraph length, which forced the importer to split over-long paragraphs into two or more. And this also addresses the long outstanding feature request to support long paragraphs in writer in order to support the custom in some locales (Brazil, others?) where there is apparently a requirement to record minutes of certain classes of meetings in a single paragraph.