From 493ae7a6bb0c3ad50615db0090e7ae8d391bc327 Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Mon, 6 Jul 2020 03:01:51 +0200 Subject: replace usage of blacklist with denylist .. and a few cases of instead doing blacklist->excludelist where that made more sense. Background and motivation: https://tools.ietf.org/html/draft-knodel-terminology-02 [API CHANGE] officecfg::Office::Canvas::DeviceBlacklist -> DeviceDenylist [API CHANGE] officecfg::Office::Canvas::BlacklistCurrentDevice -> DenylistCurrentDevice [API CHANGE] officecfg::Office::Common::Misc::OpenCLBlackList -> OpenCLDenyList Change-Id: Ia35e25496bf0cc0692d5de4cb66bfc232d3a869e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98180 Tested-by: Thorsten Behrens Reviewed-by: Thorsten Behrens --- connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx b/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx index ef39382d058d..1f429d9850ad 100644 --- a/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx +++ b/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx @@ -54,7 +54,7 @@ namespace connectivity::evoab static ColumnProperty **pFields=nullptr; static guint nFields = 0; - static const char *pBlackList[] = + static const char *pDenyList[] = { "id", "list-show-addresses", @@ -114,9 +114,9 @@ namespace connectivity::evoab { bool bAdd = true; const char *pName = g_param_spec_get_name( pProps[i] ); - for (unsigned int j = 0; j < G_N_ELEMENTS( pBlackList ); j++ ) + for (unsigned int j = 0; j < G_N_ELEMENTS( pDenyList ); j++ ) { - if( !strcmp( pBlackList[j], pName ) ) + if( !strcmp( pDenyList[j], pName ) ) { bAdd = false; break; -- cgit