The 16 bit length limitation in writer is now removed towards 4.3.
The 16 bit paragraph length limit in editeng still remains, editeng
mixes freely sal_uInt16 with xub_StrLen and has a pile of hard-coded
0xFFFF here and there which makes it tricky to see at a glance which
values are string lengths and offsets and which are not. Sigh.
Also, note there is a hidden limit in tools/stream.hxx of 0xFFFE in
things like ReadLine and ReadByteStringLine and their callers.
sc is now the only module that includes tools/string.hxx and uses
STRING_MAXLEN. It would be great if some calc hackers could have a look
there to see if those limits still make sense (e.g.
nArbitraryLineLengthLimit) especially considering the ReadLine, etc.
issue.
C.
Context
- long paras + tools/string.hxx · Caolán McNamara
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.