sw/qa/extras/ooxmlexport/ooxmlexport3.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit cb92cc46c96ea165e58202bf0b817217f0e1cebd Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Fri Aug 15 06:48:00 2025 +0200 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Fri Aug 15 08:17:55 2025 +0200 Use OUString literal here Change-Id: I59239c5d133050f9416c40439a100dfaaa3009ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189653 Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> Tested-by: Jenkins diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx index cee6baed8a63..11b79accd7fa 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx @@ -864,10 +864,7 @@ CPPUNIT_TEST_FIXTURE(Test, testThemePreservation) assertXPath(pXmlSettings, "/w:settings/w:themeFontLang", "bidi", u"he-IL"); // check fonts have been applied properly - sal_Unicode fontName[2]; //represents the string "宋体" - fontName[0] = 0x5b8b; - fontName[1] = 0x4f53; - CPPUNIT_ASSERT_EQUAL(OUString(fontName, 2), getProperty<OUString>(getParagraph(1), u"CharFontNameAsian"_ustr)); + CPPUNIT_ASSERT_EQUAL(u"宋体"_ustr, getProperty<OUString>(getParagraph(1), u"CharFontNameAsian"_ustr)); CPPUNIT_ASSERT_EQUAL(u"Arial"_ustr, getProperty<OUString>(getParagraph(2), u"CharFontNameComplex"_ustr)); CPPUNIT_ASSERT_EQUAL(u"Trebuchet MS"_ustr,