diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-21 11:59:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-21 18:14:10 +0200 |
commit | bc456ccf9f81bd36216c199ab42fa2fe77c5e17c (patch) | |
tree | fbb277c7e5d5a236093b3234647ba726708b39c0 /sc/qa/extras/sclabelrangeobj.cxx | |
parent | 441d8ed9be0e7f831b455a69b8688dcb79a8bc00 (diff) |
loplugin:ostr in sc/qa
Change-Id: If731102d69667eaaa088cf804a8c7563b24ded5a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167893
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/qa/extras/sclabelrangeobj.cxx')
-rw-r--r-- | sc/qa/extras/sclabelrangeobj.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/qa/extras/sclabelrangeobj.cxx b/sc/qa/extras/sclabelrangeobj.cxx index 2efd9cbe2a8d..5a540fbeaddc 100644 --- a/sc/qa/extras/sclabelrangeobj.cxx +++ b/sc/qa/extras/sclabelrangeobj.cxx @@ -43,7 +43,7 @@ public: }; ScLabelRangeObj::ScLabelRangeObj() - : UnoApiTest("/sc/qa/extras/testdocuments") + : UnoApiTest(u"/sc/qa/extras/testdocuments"_ustr) { } @@ -52,8 +52,8 @@ uno::Reference<uno::XInterface> ScLabelRangeObj::init() uno::Reference<sheet::XSpreadsheetDocument> xDoc(mxComponent, uno::UNO_QUERY_THROW); uno::Reference<beans::XPropertySet> xProp(xDoc, uno::UNO_QUERY_THROW); - uno::Reference<sheet::XLabelRanges> xLabelRanges(xProp->getPropertyValue("ColumnLabelRanges"), - uno::UNO_QUERY_THROW); + uno::Reference<sheet::XLabelRanges> xLabelRanges( + xProp->getPropertyValue(u"ColumnLabelRanges"_ustr), uno::UNO_QUERY_THROW); table::CellRangeAddress aCellRanageAddr1(0, 0, 1, 0, 6); table::CellRangeAddress aCellRanageAddr2(0, 0, 0, 0, 1); @@ -68,7 +68,7 @@ void ScLabelRangeObj::setUp() { UnoApiTest::setUp(); // create calc document - mxComponent = loadFromDesktop("private:factory/scalc"); + mxComponent = loadFromDesktop(u"private:factory/scalc"_ustr); } CPPUNIT_TEST_SUITE_REGISTRATION(ScLabelRangeObj); |