diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-12-09 14:19:27 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-12-09 16:19:13 +0100 |
commit | 6292e49355fff22f1ca549b4b81b20d495735734 (patch) | |
tree | a5e826173613ec2f42608da48baa5234dc0e68f2 /sd | |
parent | a0f44c862d06981d5ae2625f0a8032e40ce76c4d (diff) |
Some OUString::fromUtf(u8"...") simplifications
Change-Id: I2b23d115c4df23ef99d162a02fa8f560f9a3a825
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107471
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/unit/import-tests-smartart.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/qa/unit/import-tests-smartart.cxx b/sd/qa/unit/import-tests-smartart.cxx index 2a3dcda08983..369e51ae83f3 100644 --- a/sd/qa/unit/import-tests-smartart.cxx +++ b/sd/qa/unit/import-tests-smartart.cxx @@ -753,7 +753,7 @@ void SdImportTestSmartArt::testAccentProcess() uno::Reference<container::XIndexAccess> xRules(xPara->getPropertyValue("NumberingRules"), uno::UNO_QUERY); comphelper::SequenceAsHashMap aRule(xRules->getByIndex(0)); - CPPUNIT_ASSERT_EQUAL(OUString::fromUtf8(u8"•"), aRule["BulletChar"].get<OUString>()); + CPPUNIT_ASSERT_EQUAL(OUString(u"•"), aRule["BulletChar"].get<OUString>()); } int nFirstChildTop = xFirstChild->getPosition().Y; @@ -1376,13 +1376,13 @@ void SdImportTestSmartArt::testBulletList() uno::Reference<container::XIndexAccess> xRules1(xPara1->getPropertyValue("NumberingRules"), uno::UNO_QUERY); comphelper::SequenceAsHashMap aRule1(xRules1->getByIndex(1)); - CPPUNIT_ASSERT_EQUAL(OUString::fromUtf8(u8"•"), aRule1["BulletChar"].get<OUString>()); + CPPUNIT_ASSERT_EQUAL(OUString(u"•"), aRule1["BulletChar"].get<OUString>()); uno::Reference<beans::XPropertySet> xPara2(xParas->nextElement(), uno::UNO_QUERY); uno::Reference<container::XIndexAccess> xRules2(xPara2->getPropertyValue("NumberingRules"), uno::UNO_QUERY); comphelper::SequenceAsHashMap aRule2(xRules2->getByIndex(2)); - CPPUNIT_ASSERT_EQUAL(OUString::fromUtf8(u8"•"), aRule2["BulletChar"].get<OUString>()); + CPPUNIT_ASSERT_EQUAL(OUString(u"•"), aRule2["BulletChar"].get<OUString>()); xDocShRef->DoClose(); } |