summaryrefslogtreecommitdiff
path: root/sc/qa/unit/helper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-10-19 10:30:24 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-10-20 09:45:32 +0200
commitda3a91e89f803d1c42b764c90071b30b547e686b (patch)
treeb24e375196cafa667c9cf12a31b53b368886d8c3 /sc/qa/unit/helper
parent02411752218670d89726a06f746c2b622ed4efc6 (diff)
Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: sc
Change-Id: Ieed908bfa2cb6370ead922dfc00dbdb4f905f3cf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158216 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/qa/unit/helper')
-rw-r--r--sc/qa/unit/helper/shared_test_impl.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/helper/shared_test_impl.hxx b/sc/qa/unit/helper/shared_test_impl.hxx
index 8dcb387df38b..4d792cd378b2 100644
--- a/sc/qa/unit/helper/shared_test_impl.hxx
+++ b/sc/qa/unit/helper/shared_test_impl.hxx
@@ -286,7 +286,7 @@ void testCeilingFloor_Impl( ScDocument& rDoc )
{
// Original test case document is ceiling-floor.xlsx
// Sheet1.K1 has =AND(K3:K81) to evaluate all results.
- static constexpr OUStringLiteral pORef = u"Sheet1.K1";
+ static constexpr OUString pORef = u"Sheet1.K1"_ustr;
ScAddress aPos;
aPos.Parse(pORef, rDoc);
CPPUNIT_ASSERT_EQUAL_MESSAGE("Wrong formula.", OUString("=AND(K3:K81)"), rDoc.GetFormula(aPos.Col(), aPos.Row(), aPos.Tab()));