summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/ResourceManager.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2020-05-05 18:58:32 +0300
committerTor Lillqvist <tml@collabora.com>2020-05-06 18:11:24 +0200
commitf120af264412caf1f3e7446981070ee8da9a076b (patch)
treeb045f97cba83ba8cc42c4e126338aac7a973cfd2 /sfx2/source/sidebar/ResourceManager.cxx
parente2e76c1f8cdfa844aa660c52870573e739d3710c (diff)
ICU requires that a collator charset data array is four-byte-aligned
See workdir/UnpackedTarball/icu/source/common/utrie2.cpp, the U_POINTER_MASK_LSB() check: if( length<=0 || (U_POINTER_MASK_LSB(data, 3)!=0) || valueBits<0 || UTRIE2_COUNT_VALUE_BITS<=valueBits ) { *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; return 0; } Apparently the data pointer there is always a multiple of four bytes from the start of the data array that the gencoll_rule code generates. Change-Id: I9b98b01b49b5800e1db8b077a4221b82d59510bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93507 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'sfx2/source/sidebar/ResourceManager.cxx')
0 files changed, 0 insertions, 0 deletions