diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-05-31 21:12:12 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-06-01 08:46:10 +0200 |
commit | 6fc8a6b0b52509d735971f079d7b1660559d475d (patch) | |
tree | 2faa1b051c020340c375f9337e86f0e230dfbf09 /sc | |
parent | f535acdab1ae90ea326393c0ff419ee6ece6f627 (diff) |
tdf#142325 RTF import: tolerate invalid hex markup like "\'3?"
The RTF spec says \'hh is the expected form, where both "h" are 0-9, a-f
or A-F. But Word accepts the bugdoc, so don't reject this input, handle
\'<number><junk> as \'0<number>.
At least the current case ignores the actual value, as it's a single
character to provide a non-unicode value after \uN for old readers that
don't support Unicode.
Change-Id: Ib61247ab08278ca5012cc887cee26c7571c29fc6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116499
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sc')
0 files changed, 0 insertions, 0 deletions