diff options
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport.cxx | 6 | ||||
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport2.cxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx index 1112129ae02d..27a361484e28 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx @@ -47,12 +47,12 @@ protected: */ bool mustValidate(const char* filename) const override { - const char* aWhitelist[] = { + const char* aAllowlist[] = { "paragraph-mark-nonempty.odt" }; - std::vector<const char*> vWhitelist(aWhitelist, aWhitelist + SAL_N_ELEMENTS(aWhitelist)); + std::vector<const char*> vAllowlist(aAllowlist, aAllowlist + SAL_N_ELEMENTS(aAllowlist)); - return std::find(vWhitelist.begin(), vWhitelist.end(), filename) != vWhitelist.end(); + return std::find(vAllowlist.begin(), vAllowlist.end(), filename) != vAllowlist.end(); } }; diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx index 3ea718c07f6c..1676fa8c09e5 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx @@ -55,16 +55,16 @@ protected: */ bool mustValidate(const char* filename) const override { - const char* aWhitelist[] = { + const char* aAllowlist[] = { "page-graphic-background.odt", "zoom.docx", "empty.odt", "fdo38244.docx", "comments-nested.odt" }; - std::vector<const char*> vWhitelist(aWhitelist, aWhitelist + SAL_N_ELEMENTS(aWhitelist)); + std::vector<const char*> vAllowlist(aAllowlist, aAllowlist + SAL_N_ELEMENTS(aAllowlist)); - return std::find(vWhitelist.begin(), vWhitelist.end(), filename) != vWhitelist.end(); + return std::find(vAllowlist.begin(), vAllowlist.end(), filename) != vAllowlist.end(); } }; |