From e0c33ec15f53a01fa3ee07489871bbe09bb5c9c3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 6 Oct 2023 09:42:38 +0200 Subject: loplugin:ostr: automatic rewrite Change-Id: I2d09b2b83e1b50493ec88d0b2c323a83c0c86395 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157647 Reviewed-by: Stephan Bergmann Tested-by: Jenkins --- sw/qa/extras/htmlimport/htmlimport.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/qa/extras/htmlimport') diff --git a/sw/qa/extras/htmlimport/htmlimport.cxx b/sw/qa/extras/htmlimport/htmlimport.cxx index 34900529ada9..125143d6f581 100644 --- a/sw/qa/extras/htmlimport/htmlimport.cxx +++ b/sw/qa/extras/htmlimport/htmlimport.cxx @@ -151,7 +151,7 @@ CPPUNIT_TEST_FIXTURE(HtmlImportTest, testListStyleType) if (rProp.Name == "BulletChar") { // should be 'o'. - CPPUNIT_ASSERT_EQUAL(OUString(u"\uE009"), rProp.Value.get()); + CPPUNIT_ASSERT_EQUAL(u"\uE009"_ustr, rProp.Value.get()); bBulletFound = true; break; } @@ -516,7 +516,7 @@ CPPUNIT_TEST_FIXTURE(HtmlImportTest, testUTF16_nonBMP) { createSwWebDoc("emojis16BE.html"); // tdf#146173: non-BMP characters' surrogates didn't combine correctly - CPPUNIT_ASSERT_EQUAL(OUString(u"a text with emojis: 🌾 β˜€πŸ‘¨πŸΌβ€πŸŒΎπŸƒπŸΌβ€β™‚οΈπŸ€™πŸ½πŸ”"), + CPPUNIT_ASSERT_EQUAL(u"a text with emojis: 🌾 β˜€πŸ‘¨πŸΌβ€πŸŒΎπŸƒπŸΌβ€β™‚οΈπŸ€™πŸ½πŸ”"_ustr, getParagraph(1)->getString()); } -- cgit