diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2020-01-01 13:54:05 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-01-01 19:21:50 +0100 |
commit | 4abb191916916c7003deedcfdcf46287faccaf01 (patch) | |
tree | e3cedd8eaeb9457cf08a68a832e540f8ff3bc44b /cui/uiconfig/ui/linetabpage.ui | |
parent | 83955c30405b086fb9b753f2734827c63e951c91 (diff) |
tdf#57113: store UTF-16 stringpool data after legacy 1-byte data
This allows to correctly store and read Unicode strings used in
password-protected libraries. The additional data stored after all
legacy data of the stringpool record (after a magic number to mark
its presence), and so is invisible for older versions of program:
this allows to keep the version of data and backward compatibility.
Of course, older versions will only see legacy data, with broken
Unicode strings; and password-protected libraries edited and saved
in older versions will not contain Unicode data.
read_uInt16s_ToOUString and write_uInt16s_FromOUString are used
for correct handling of UTF-16 strings on LE/BE systems.
Change-Id: I990bc27b5cc7d499e71c43d45b7f263af41911e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86065
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'cui/uiconfig/ui/linetabpage.ui')
0 files changed, 0 insertions, 0 deletions