summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/docxattributeoutput.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2020-07-06 03:39:12 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2020-07-10 01:36:07 +0200
commitabb6c01519a0318d7165dc9dc5b7d185353f93d6 (patch)
tree3b6fa1fc13fba77efc13ee3283c3e6c145bd4252 /sw/source/filter/ww8/docxattributeoutput.cxx
parent493ae7a6bb0c3ad50615db0090e7ae8d391bc327 (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 'sw/source/filter/ww8/docxattributeoutput.cxx')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 1f4684e3f255..76d067390cf1 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -5986,7 +5986,7 @@ static bool lcl_guessQFormat(const OUString& rName, sal_uInt16 nWwId)
nWwId == ww::stiEmphasis )
return true;
- static o3tl::sorted_vector<OUString, OUStringIgnoreCase> const aWhitelist
+ static o3tl::sorted_vector<OUString, OUStringIgnoreCase> const aAllowlist
{
"No Spacing",
"List Paragraph",
@@ -6000,7 +6000,7 @@ static bool lcl_guessQFormat(const OUString& rName, sal_uInt16 nWwId)
"TOC Heading",
};
// Not custom style? Then we have a list of standard styles which should be qFormat.
- return aWhitelist.find(rName) != aWhitelist.end();
+ return aAllowlist.find(rName) != aAllowlist.end();
}
void DocxAttributeOutput::StartStyle( const OUString& rName, StyleType eType,