Type: required Title: LANGUAGE_ARABIC removed Posted by: [EMAIL PROTECTED] Affected: binfilter, cppcanvas, drawinglayer, i18npool, sc, sd, starmath, svtools, svx, sw, tools, vcl TaskId: i93694 <http://www.openoffice.org/issues/show_bug.cgi?id=93694> Effective from: cws locales31 CWS: <http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/locales31> CWS status: new
*Summary* -------- #include <i18npool/lang.h> - #define LANGUAGE_ARABIC 0x0001 + #define LANGUAGE_ARABIC_PRIMARY_ONLY 0x0001 *Description* ------------- The define for primary-only (not a locale, no region/country) LANGUAGE_ARABIC was replaced by LANGUAGE_ARABIC_PRIMARY_ONLY to prevent wrong usage. To test whether a language/locale attribution has any Arabic assigned, use either MsLangId::getPrimaryLanguage(nLang) == LANGUAGE_ARABIC_PRIMARY_ONLY or (nLang & LANGUAGE_MASK_PRIMARY) == LANGUAGE_ARABIC_PRIMARY_ONLY In fact you can always test the primary language for any language SOMETHING with (nLang & LANGUAGE_MASK_PRIMARY) == (LANGUAGE_SOMETHING & LANGUAGE_MASK_PRIMARY) respectively MsLangId::getPrimaryLanguage(nLang) == MsLangId::getPrimaryLanguage(LANGUAGE_SOMETHING) All source code as of DEV300_m37 has been adapted in CWS locales31. Places that initialized a LanguageType to LANGUAGE_ARABIC now use LANGUAGE_ARABIC_SAUDI_ARABIA instead, comparisons on LANGUAGE_ARABIC now instead use one of the primary tests above. Send feedback to interface-announce@openoffice.org,interface-announce@openoffice.org,interface-announce@openoffice.org,interface-announce@openoffice.org,interface-announce@openoffice.org,interface-announce@openoffice.org,interface-announce@openoffice.org,interface-announce@openoffice.org,interface-announce@openoffice.org,interface-announce@openoffice.org,interface-announce@openoffice.org,interface-announce@openoffice.org
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]