diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2020-07-06 03:39:12 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2020-07-10 01:36:07 +0200 |
commit | abb6c01519a0318d7165dc9dc5b7d185353f93d6 (patch) | |
tree | 3b6fa1fc13fba77efc13ee3283c3e6c145bd4252 /include | |
parent | 493ae7a6bb0c3ad50615db0090e7ae8d391bc327 (diff) |
replace usage of whitelist with allowlist
Background and motivation:
https://tools.ietf.org/html/draft-knodel-terminology-02
[API CHANGE] officecfg::Office::Common::Misc::OpenCLWhiteList -> OpenCLAllowList
Change-Id: I65636b19b13e4af1e4851f70e78053f3443d6bb1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98181
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/lok.hxx | 2 | ||||
-rw-r--r-- | include/opencl/openclconfig.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/comphelper/lok.hxx b/include/comphelper/lok.hxx index dfbc1a2ce6c0..a457c47b00a5 100644 --- a/include/comphelper/lok.hxx +++ b/include/comphelper/lok.hxx @@ -109,7 +109,7 @@ COMPHELPER_DLLPUBLIC void setLanguageTag(const LanguageTag& languageTag); /// Get the current LOK's language. COMPHELPER_DLLPUBLIC const LanguageTag& getLanguageTag(); /// If the language name should be used for this LOK instance. -COMPHELPER_DLLPUBLIC bool isWhitelistedLanguage(const OUString& lang); +COMPHELPER_DLLPUBLIC bool isAllowlistedLanguage(const OUString& lang); // Status indicator handling. Even if in theory there could be several status indicators active at // the same time, in practice there is only one at a time, so we don't handle any identification of diff --git a/include/opencl/openclconfig.hxx b/include/opencl/openclconfig.hxx index c1b73a66485a..7247b4fa6e62 100644 --- a/include/opencl/openclconfig.hxx +++ b/include/opencl/openclconfig.hxx @@ -77,7 +77,7 @@ struct OPENCL_DLLPUBLIC OpenCLConfig typedef std::set<ImplMatcher> ImplMatcherSet; ImplMatcherSet maDenyList; - ImplMatcherSet maWhiteList; + ImplMatcherSet maAllowList; OpenCLConfig(); |