Lines Matching refs:nLang
123 LanguageType nLang = LANGUAGE_NONE; in lcl_CheckLanguage() local
127 return nLang; in lcl_CheckLanguage()
140 nLang = nTmpLang; in lcl_CheckLanguage()
142 if (nLang == LANGUAGE_NONE) // language not found by looking up the system language... in lcl_CheckLanguage()
143 nLang = MsLangId::convertLocaleToLanguageWithFallback( aLocale ); in lcl_CheckLanguage()
144 if (nLang == LANGUAGE_SYSTEM) in lcl_CheckLanguage()
145 nLang = nTmpLang; in lcl_CheckLanguage()
146 if (nLang == LANGUAGE_DONTKNOW) in lcl_CheckLanguage()
147 nLang = LANGUAGE_NONE; in lcl_CheckLanguage()
152 return nLang; in lcl_CheckLanguage()
185 nLang = nTmpLang; in lcl_CheckLanguage()
192 return nLang; in lcl_CheckLanguage()
206 inline bool lcl_checkScriptType( sal_Int16 nScriptType, LanguageType nLang ) in lcl_checkScriptType() argument
208 return 0 != (nScriptType & SvtLanguageOptions::GetScriptTypeOfLanguage( nLang )); in lcl_checkScriptType()
532 LanguageType nLang = LANGUAGE_DONTKNOW; in SwSpellPopup() local
534 nLang = rEditWin.GetInputLanguage(); in SwSpellPopup()
535 if (nLang != LANGUAGE_DONTKNOW && nLang != LANGUAGE_SYSTEM) in SwSpellPopup()
536 aKeyboardLang = aLanguageTable.GetString( nLang ); in SwSpellPopup()
541 nLang = SwLangHelper::GetCurrentLanguage( *pWrtSh ); in SwSpellPopup()
542 if (nLang != LANGUAGE_DONTKNOW) in SwSpellPopup()
543 aCurrentLang = aLanguageTable.GetString( nLang ); in SwSpellPopup()
665 LanguageType nLang = LANGUAGE_DONTKNOW; in SwSpellPopup() local
667 nLang = rEditWin.GetInputLanguage(); in SwSpellPopup()
668 if (nLang != LANGUAGE_DONTKNOW && nLang != LANGUAGE_SYSTEM) in SwSpellPopup()
669 aKeyboardLang = aLanguageTable.GetString( nLang ); in SwSpellPopup()
674 nLang = SwLangHelper::GetCurrentLanguage( *pWrtSh ); in SwSpellPopup()
675 if (nLang != LANGUAGE_DONTKNOW) in SwSpellPopup()
676 aCurrentLang = aLanguageTable.GetString( nLang ); in SwSpellPopup()