Hi, On Saturday, 2021-07-10 10:00:31 +0300, Ilmari Lauhakangas wrote: > [CUT] sw_core_layout > [_RUN_____] testVerticallyMergedCellBorder::TestBody > E: lt_string_value: assertion `string != ((void *)0)' failed > E: lt_string_value: assertion `string != ((void *)0)' failed > E: lt_string_value: assertion `string != ((void *)0)' failed > E: lt_string_value: assertion `string != ((void *)0)' failed Unrelated to the test failing or not, but I wondered why those assertions came up and loading the test doc sw/qa/core/layout/data/vmerge-cell-border.docx manually yields the same along with E: lt_string_value: assertion `string != ((void *)0)' failed warn:i18nlangtag:815276:815276:i18nlangtag/source/languagetag/languagetag.cxx:1587: LanguageTag::getLanguageFromLangtag: pLangT==NULL for 'x-none' warn:i18nlangtag:815276:815276:i18nlangtag/source/languagetag/languagetag.cxx:1645: LanguageTag::getRegionFromLangtag: pRegionT==NULL for 'x-none' We do not have any private language tag 'x-none' in our code base and also grepping over all workdir/UnpackedTarball didn't reveal any but the document contains it in ./word/settings.xml as <w:themeFontLang w:val="en-US" w:eastAsia="x-none" w:bidi="x-none"/> Breaking in LanguageTag implementation revealed that it's passed to writerfilter/source/dmapper/ThemeTable.cxx ThemeTable::setThemeFontLangProperties() the PropertyValue aPropSeq contains eastAsia = "x-none" bidi = "x-none" So apparently this private use languagetag is not so privately used by MS-Word and escapes to the outer world. Am I guessing right that it denotes the absence of Asian and CTL font features? Should we handle it explicitly as a known languagetag? Does anything rely on a valid conversion to LCID or lang::Locale and back? (I'd guess so..) Eike -- GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ LibreOffice mailing list LibreOffice@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/libreoffice