Searched refs:slang (Results 1 – 5 of 5) sorted by relevance
42 inline ::com::sun::star::lang::Locale toLocale( ::rtl::OUString const & slang ) in toLocale() argument46 locale.Language = slang.getToken( 0, '-', nIndex ); in toLocale()47 locale.Country = slang.getToken( 0, '-', nIndex ); in toLocale()48 locale.Variant = slang.getToken( 0, '-', nIndex ); in toLocale()56 ::rtl::OUString slang; in operator ()()58 ::utl::ConfigManager::LOCALE ) >>= slang)) in operator ()()60 if (slang.getLength() == 0) in operator ()()61 slang = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("en-US")); in operator ()()62 return toLocale(slang); in operator ()()
67 OUString slang; in operator ()() local69 ::utl::ConfigManager::LOCALE ) >>= slang)) in operator ()()71 return toLocale(slang); in operator ()()
46 OUString slang; in operator ()() local48 ::utl::ConfigManager::LOCALE ) >>= slang)) in operator ()()52 if (slang.getLength() == 0) in operator ()()53 slang = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("en-US")); in operator ()()54 return slang; in operator ()()182 ::com::sun::star::lang::Locale toLocale( ::rtl::OUString const & slang ) in toLocale() argument184 OUString _sLang = slang.trim(); in toLocale()
253 OUString slang; in startExecuteModal() local255 ::utl::ConfigManager::LOCALE ) >>= slang)) in startExecuteModal()258 as.SetUILanguage( MsLangId::convertIsoStringToLanguage( slang ) ); in startExecuteModal()
51 ::com::sun::star::lang::Locale toLocale( ::rtl::OUString const & slang );
Completed in 12 milliseconds