sw/source/filter/ww8/docxattributeoutput.cxx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-)
New commits: commit 8ee0b01f226665c877d5ed59b23eec278800a667 Author: Christian Lohmaier <[email protected]> AuthorDate: Mon Jun 17 16:33:11 2024 +0200 Commit: Christian Lohmaier <[email protected]> CommitDate: Thu Jul 25 15:05:26 2024 +0200 workaround clang-14 bug affects both macOS XCode 14 as well as the em++ / emsdk clang 14 used by the wasm builder Change-Id: Id3e9a923b7f18ca8d18fd4bc2fd5de83ab3c591f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169031 Reviewed-by: Christian Lohmaier <[email protected]> Tested-by: Jenkins diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 35c7705bdd71..e3ff688d0115 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -6695,18 +6695,18 @@ static bool lcl_guessQFormat(const OUString& rName, sal_uInt16 nWwId) nWwId == ww::stiEmphasis ) return true; - static o3tl::sorted_vector<OUString, OUStringIgnoreCase> const aAllowlist - { - u"No Spacing"_ustr, - u"List Paragraph"_ustr, - u"Quote"_ustr, - u"Intense Quote"_ustr, - u"Subtle Emphasis"_ustr, - u"Intense Emphasis"_ustr, - u"Subtle Reference"_ustr, - u"Intense Reference"_ustr, - u"Book Title"_ustr, - u"TOC Heading"_ustr, + static o3tl::sorted_vector<std::u16string_view, OUStringIgnoreCase> const aAllowlist + { + u"No Spacing", + u"List Paragraph", + u"Quote", + u"Intense Quote", + u"Subtle Emphasis", + u"Intense Emphasis", + u"Subtle Reference", + u"Intense Reference", + u"Book Title", + u"TOC Heading", }; // Not custom style? Then we have a list of standard styles which should be qFormat. return aAllowlist.find(rName) != aAllowlist.end();
