tdf#129578 rtfimport: CJK char properties are not CS
commit9d50307b2e1fd26d415539d3ed8624c7a449e45b
authorJustin Luth <justin_luth@sil.org>
Fri, 7 Jan 2022 12:08:52 +0000 (7 14:08 +0200)
committerJustin Luth <jluth@mail.com>
Wed, 2 Feb 2022 04:03:05 +0000 (2 05:03 +0100)
treeef0dbdd9bbcc5b00eede8c78fe81bbc9f7182218
parentbb7873cebd191143e2c0bcf944c8c777be5439dc
tdf#129578 rtfimport: CJK char properties are not CS

This fixes a LO 6.4/6.3.0.1 regression caused by
commit fd95fb975b754d71d3750e85431a4e596a40e659
which was focused on export, and not import.

The code originally didn't have any
mention of DBCH, so it used the default.
However, in the 6.4 change, it was wrongly tied together
with the Complex Script indicator.

So revert that part of the change.
Mark fixed the same problem in 7.1 for font size.

Change-Id: I1c87ae856de93ebc693135585574f2eb144b214b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128113
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
sw/qa/extras/rtfexport/data/tdf129578_lostBI.rtf [new file with mode: 0644]
sw/qa/extras/rtfexport/rtfexport4.cxx
writerfilter/source/rtftok/rtfdocumentimpl.cxx