Bug 45563 - incorrect IMPORT of Zotero RTF, regression

Miklos Vajna vmiklos at suse.cz
Thu Mar 8 08:22:09 PST 2012


On Thu, Mar 08, 2012 at 02:31:51PM +0100, "Chr. Rossmanith" <ChrRossmanith at gmx.de> wrote:
> master has import problems with RTF docs with DOS line ends. If I
> change line ends with dos2unix to Unix line ends the problem is
> solved. Any hints where I might start debugging?

Hi Christina,

Look in writerfilter/source/rtftok/rtftokenizer.cxx. Ideally dos line
endings are ignored in RTFTokenizer::resolveParse(), search for 0x0d.

HTH,

Miklos


More information about the LibreOffice mailing list