summaryrefslogtreecommitdiff
path: root/lingucomponent/source
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent/source')
-rw-r--r--lingucomponent/source/spellcheck/spell/sspellimp.cxx2
-rw-r--r--lingucomponent/source/thesaurus/libnth/nthesimp.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
index 04fc7d8e2b0d..3a6a39e92a12 100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
@@ -162,7 +162,7 @@ Sequence< Locale > SAL_CALL SpellChecker::getLocales()
{
for (auto const& locale : aLocaleNames)
{
- if (!comphelper::LibreOfficeKit::isWhitelistedLanguage(locale))
+ if (!comphelper::LibreOfficeKit::isAllowlistedLanguage(locale))
continue;
aLocaleNamesSet.insert(locale);
diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
index e165d0962918..b24b8beb51f4 100644
--- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
+++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
@@ -139,7 +139,7 @@ Sequence< Locale > SAL_CALL Thesaurus::getLocales()
{
for (const auto& rLocaleName : dict.aLocaleNames)
{
- if (!comphelper::LibreOfficeKit::isWhitelistedLanguage(rLocaleName))
+ if (!comphelper::LibreOfficeKit::isAllowlistedLanguage(rLocaleName))
continue;
aLocaleNamesSet.insert( rLocaleName );