https://bugs.documentfoundation.org/show_bug.cgi?id=160218
Eike Rathke <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Eike Rathke <[email protected]> --- That doesn't look like pointer-chasing but in MsLangId::getScriptType() the chains of nLang.anyOf(...) and primary(nLang).anyOf(...) (that previously before using o3tl::strong_int()::anyOf() were nested switch/case constructs). My suggestion: Take a shortcut to handle a few well-known often occurring Western languages/locales beforehand, like if (nLang == LANGUAGE_ENGLISH_US || primary(nLang).anyOf( primary(LANGUAGE_ENGLISH_US), primary(LANGUAGE_SPANISH_MODERN), primary(LANGUAGE_FRENCH), primary(LANGUAGE_GERMAN))) return css::i18n::ScriptType::LATIN; -- You are receiving this mail because: You are the assignee for the bug.
