| #
f13410cf
|
| 22-Jul-2024 |
Damjan Jovanovic <damjan@apache.org> |
Allow reading lines longer than 64 KiB in SvStream, and reading CSV rows and cells longer than 64 KiB in OpenOffice Base. (They are now limited to ~2 GiB).
- New member functions were added to the m
Allow reading lines longer than 64 KiB in SvStream, and reading CSV rows and cells longer than 64 KiB in OpenOffice Base. (They are now limited to ~2 GiB).
- New member functions were added to the main/tools SvStream class to work with 32 bit ::rtl::OUString and ::rtl::OStringBuilder when reading lines. - The helper class QuotedString had to be upgraded from using the 16 bit String to the 32 bit ::rtl::OUString. - The CSV database driver was patched to use ::rtl::OUString and 32 bit indexes in various places. - Luckily, little other work was needed, as the ORowSetValue class already uses 32 bit ::rtl::OUString, and was previously converting 16 bit String to 32 bit ::rtl::OUString internally anyway.
Also simplified some of the line parsing logic, and translated some German comments to English.
Patch by: me
(cherry picked from commit 7b2bc0e6bba2fbc38d078306fe10d875115d6c86)
show more ...
|