Lines Matching refs:nLang

117 static sal_Bool lcl_SeqHasLang( const Sequence< sal_Int16 > &rSeq, sal_Int16 nLang )  in lcl_SeqHasLang()  argument
124 if (nLang == pLang[i]) in lcl_SeqHasLang()
593 Sequence< OUString > GetSortedImplNames( sal_Int16 nLang, sal_uInt8 nType );
613 Sequence< OUString > SvxLinguData_Impl::GetSortedImplNames( sal_Int16 nLang, sal_uInt8 nType ) in GetSortedImplNames() argument
624 if (pTable->count( nLang )) in GetSortedImplNames()
625 aRes = (*pTable)[ nLang ]; // add configured services in GetSortedImplNames()
882 sal_Int16 nLang = SvxLocaleToLanguage( pAllLocales[nLocale] ); in SvxLinguData_Impl() local
887 aCfgSpellTable[ nLang ] = aCfgSvcs; in SvxLinguData_Impl()
892 aCfgGrammarTable[ nLang ] = aCfgSvcs; in SvxLinguData_Impl()
897 aCfgHyphTable[ nLang ] = aCfgSvcs; in SvxLinguData_Impl()
902 aCfgThesTable[ nLang ] = aCfgSvcs; in SvxLinguData_Impl()
1037 sal_Int16 nLang = SvxLocaleToLanguage( pLocale[i] ); in Reconfigure() local
1038 if (!aCfgSpellTable.count( nLang ) && bEnable) in Reconfigure()
1039 aCfgSpellTable[ nLang ] = Sequence< OUString >(); in Reconfigure()
1040 if (aCfgSpellTable.count( nLang )) in Reconfigure()
1041 AddRemove( aCfgSpellTable[ nLang ], pInfo->sSpellImplName, bEnable ); in Reconfigure()
1053 sal_Int16 nLang = SvxLocaleToLanguage( pLocale[i] ); in Reconfigure() local
1054 if (!aCfgGrammarTable.count( nLang ) && bEnable) in Reconfigure()
1055 aCfgGrammarTable[ nLang ] = Sequence< OUString >(); in Reconfigure()
1056 if (aCfgGrammarTable.count( nLang )) in Reconfigure()
1057 AddRemove( aCfgGrammarTable[ nLang ], pInfo->sGrammarImplName, bEnable ); in Reconfigure()
1069 sal_Int16 nLang = SvxLocaleToLanguage( pLocale[i] ); in Reconfigure() local
1070 if (!aCfgHyphTable.count( nLang ) && bEnable) in Reconfigure()
1071 aCfgHyphTable[ nLang ] = Sequence< OUString >(); in Reconfigure()
1072 if (aCfgHyphTable.count( nLang )) in Reconfigure()
1073 AddRemove( aCfgHyphTable[ nLang ], pInfo->sHyphImplName, bEnable ); in Reconfigure()
1085 sal_Int16 nLang = SvxLocaleToLanguage( pLocale[i] ); in Reconfigure() local
1086 if (!aCfgThesTable.count( nLang ) && bEnable) in Reconfigure()
1087 aCfgThesTable[ nLang ] = Sequence< OUString >(); in Reconfigure()
1088 if (aCfgThesTable.count( nLang )) in Reconfigure()
1089 AddRemove( aCfgThesTable[ nLang ], pInfo->sThesImplName, bEnable ); in Reconfigure()
1283 sal_Int16 nLang = aIt->first; in FillItemSet() local
1290 Locale aLocale( SvxCreateLocale(nLang) ); in FillItemSet()
1299 sal_Int16 nLang = aIt->first; in FillItemSet() local
1306 Locale aLocale( SvxCreateLocale(nLang) ); in FillItemSet()
1315 sal_Int16 nLang = aIt->first; in FillItemSet() local
1322 Locale aLocale( SvxCreateLocale(nLang) ); in FillItemSet()
1331 sal_Int16 nLang = aIt->first; in FillItemSet() local
1338 Locale aLocale( SvxCreateLocale(nLang) ); in FillItemSet()
1743 sal_Int16 nLang = SvxLocaleToLanguage( pAllLocales[k] ); in IMPL_LINK() local
1744 if (pLinguData->GetSpellTable().count( nLang )) in IMPL_LINK()
1745 pLinguData->SetChecked( pLinguData->GetSpellTable()[ nLang ] ); in IMPL_LINK()
1746 if (pLinguData->GetGrammarTable().count( nLang )) in IMPL_LINK()
1747 pLinguData->SetChecked( pLinguData->GetGrammarTable()[ nLang ] ); in IMPL_LINK()
1748 if (pLinguData->GetHyphTable().count( nLang )) in IMPL_LINK()
1749 pLinguData->SetChecked( pLinguData->GetHyphTable()[ nLang ] ); in IMPL_LINK()
1750 if (pLinguData->GetThesTable().count( nLang )) in IMPL_LINK()
1751 pLinguData->SetChecked( pLinguData->GetThesTable()[ nLang ] ); in IMPL_LINK()
2098 sal_Int16 nLang = SvxLocaleToLanguage( pLocales[i] ); in SvxEditModulesDlg() local
2099 aLanguageLB.InsertLanguage( nLang, lcl_SeqHasLang( aAvailLang, nLang ) ); in SvxEditModulesDlg()
2240 sal_Int16 nLang = SvxLocaleToLanguage( aLastLocale ); in IMPL_LINK() local
2265 (*pTable)[ nLang ] = aChange; in IMPL_LINK()
2286 rLinguData.GetThesTable()[ nLang ] = aChange; in IMPL_LINK()