diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-14 09:10:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-14 11:47:53 +0200 |
commit | 008f4273ae201b5bebfd728a3b59958de49279bf (patch) | |
tree | 01bbd1f8b86ae9adc034b3273dbf5e6f6ff70df1 /test/source/sheet/xformulaquery.cxx | |
parent | b56ca52cef77d4d1f99bc3edd89b2557e5cb2cfb (diff) |
loplugin:ostr in test
Change-Id: Ie261167fc3e1ed9073210e0f8b179455da340c83
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167620
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'test/source/sheet/xformulaquery.cxx')
-rw-r--r-- | test/source/sheet/xformulaquery.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/source/sheet/xformulaquery.cxx b/test/source/sheet/xformulaquery.cxx index 32540847e0e9..784ac44fb4d3 100644 --- a/test/source/sheet/xformulaquery.cxx +++ b/test/source/sheet/xformulaquery.cxx @@ -34,7 +34,7 @@ void XFormulaQuery::testQueryDependents() xSheet->getCellByPosition(3, 0)->setValue(1); uno::Reference<table::XCell> xCell = getXCell(); - xCell->setFormula("=SUM(A1:D1)"); + xCell->setFormula(u"=SUM(A1:D1)"_ustr); uno::Reference<sheet::XFormulaQuery> xFormulaQuery(init(), UNO_QUERY_THROW); uno::Reference<sheet::XSheetCellRanges> xSCR = xFormulaQuery->queryDependents(false); @@ -50,10 +50,10 @@ void XFormulaQuery::testQueryPrecedents() xSheet->getCellByPosition(1, 0)->setValue(1); xSheet->getCellByPosition(2, 0)->setValue(1); xSheet->getCellByPosition(3, 0)->setValue(1); - xSheet->getCellByPosition(1, 2)->setFormula("=A16 * 2"); + xSheet->getCellByPosition(1, 2)->setFormula(u"=A16 * 2"_ustr); uno::Reference<table::XCell> xCell = getXCell(); - xCell->setFormula("=SUM(A1:D1)"); + xCell->setFormula(u"=SUM(A1:D1)"_ustr); uno::Reference<sheet::XFormulaQuery> xFormulaQuery(init(), UNO_QUERY_THROW); uno::Reference<sheet::XSheetCellRanges> xSCR = xFormulaQuery->queryPrecedents(false); |