diff options
Diffstat (limited to 'sc/qa/extras/scindexenumeration_cellarealinksenumeration.cxx')
-rw-r--r-- | sc/qa/extras/scindexenumeration_cellarealinksenumeration.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sc/qa/extras/scindexenumeration_cellarealinksenumeration.cxx b/sc/qa/extras/scindexenumeration_cellarealinksenumeration.cxx index 6c9f23ef7581..a11a77efd87d 100644 --- a/sc/qa/extras/scindexenumeration_cellarealinksenumeration.cxx +++ b/sc/qa/extras/scindexenumeration_cellarealinksenumeration.cxx @@ -42,7 +42,7 @@ public: }; ScIndexEnumeration_CellAreaLinksEnumeration::ScIndexEnumeration_CellAreaLinksEnumeration() - : UnoApiTest("/sc/qa/extras/testdocuments") + : UnoApiTest(u"/sc/qa/extras/testdocuments"_ustr) { } @@ -53,9 +53,10 @@ uno::Reference<uno::XInterface> ScIndexEnumeration_CellAreaLinksEnumeration::ini uno::Reference<beans::XPropertySet> xPropertySet(xDoc, uno::UNO_QUERY_THROW); uno::Reference<sheet::XAreaLinks> xAL; - CPPUNIT_ASSERT(xPropertySet->getPropertyValue("AreaLinks") >>= xAL); + CPPUNIT_ASSERT(xPropertySet->getPropertyValue(u"AreaLinks"_ustr) >>= xAL); xAL->insertAtPosition(table::CellAddress(1, 2, 3), - "ScIndexEnumeration_CellAreaLinksEnumeration.ods", "A2:B5", "", ""); + u"ScIndexEnumeration_CellAreaLinksEnumeration.ods"_ustr, u"A2:B5"_ustr, + u""_ustr, u""_ustr); uno::Reference<container::XEnumerationAccess> xEA(xAL, uno::UNO_QUERY_THROW); @@ -65,7 +66,7 @@ uno::Reference<uno::XInterface> ScIndexEnumeration_CellAreaLinksEnumeration::ini void ScIndexEnumeration_CellAreaLinksEnumeration::setUp() { UnoApiTest::setUp(); - mxComponent = loadFromDesktop("private:factory/scalc"); + mxComponent = loadFromDesktop(u"private:factory/scalc"_ustr); } CPPUNIT_TEST_SUITE_REGISTRATION(ScIndexEnumeration_CellAreaLinksEnumeration); |