diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-13 14:49:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-13 19:13:53 +0200 |
commit | 16a9092595761acca0392b4e177b309371d04f15 (patch) | |
tree | 6a6a145f2a27d1bf3e2f405ab205926f996abd66 /svtools/qa | |
parent | 5f739e1f35a600984a4f99d6394e821a71b69712 (diff) |
loplugin:ostr in svtools
Change-Id: If00c16527fb861a86f5dde195ab612bbab3a53c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167594
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'svtools/qa')
-rw-r--r-- | svtools/qa/unit/testHtmlReader.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/qa/unit/testHtmlReader.cxx b/svtools/qa/unit/testHtmlReader.cxx index 5605060eab34..d50da0d3cd97 100644 --- a/svtools/qa/unit/testHtmlReader.cxx +++ b/svtools/qa/unit/testHtmlReader.cxx @@ -62,7 +62,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf114428) // This was '<?xml version="1.0" encoding="utf-8"?> hello', XML declaration // was not ignored. - CPPUNIT_ASSERT_EQUAL(OUString("hello"), xParser->m_aDocument.trim()); + CPPUNIT_ASSERT_EQUAL(u"hello"_ustr, xParser->m_aDocument.trim()); } CPPUNIT_TEST_FIXTURE(Test, testLineBreak) @@ -97,7 +97,7 @@ CPPUNIT_TEST_FIXTURE(Test, testCdata) // - Expected: B ü < // - Actual : // i.e. the content inside CDATA was lost. - CPPUNIT_ASSERT_EQUAL(OUString("B ü <"), xParser->m_aCdata); + CPPUNIT_ASSERT_EQUAL(u"B ü <"_ustr, xParser->m_aCdata); } } |