summaryrefslogtreecommitdiff
path: root/test/source/sheet/datapilotitem.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-10-19 10:30:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-10-20 15:28:54 +0200
commitbcbc1051c72dc16dd16dbb86b21ca4d731be34b8 (patch)
tree971ffd005b3b1e3aa5b49388b46c77c25f1a516c /test/source/sheet/datapilotitem.cxx
parenta841ac096f2794405408ef64189de2c77971c3e6 (diff)
Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: test
Change-Id: I883d34c9562b48d987a16a0254272f3aeeb4bf5a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158242 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'test/source/sheet/datapilotitem.cxx')
-rw-r--r--test/source/sheet/datapilotitem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/source/sheet/datapilotitem.cxx b/test/source/sheet/datapilotitem.cxx
index 625b1e634807..7433097035d7 100644
--- a/test/source/sheet/datapilotitem.cxx
+++ b/test/source/sheet/datapilotitem.cxx
@@ -24,7 +24,7 @@ void DataPilotItem::testProperties()
{
uno::Reference<beans::XPropertySet> xItem(init(), UNO_QUERY_THROW);
- static constexpr OUStringLiteral propNameIS(u"IsHidden");
+ static constexpr OUString propNameIS(u"IsHidden"_ustr);
bool bIsHidden = true;
CPPUNIT_ASSERT(xItem->getPropertyValue(propNameIS) >>= bIsHidden);
@@ -36,7 +36,7 @@ void DataPilotItem::testProperties()
CPPUNIT_ASSERT(xItem->getPropertyValue(propNameIS) >>= bIsHidden);
CPPUNIT_ASSERT_MESSAGE("Value of IsHidden wasn't changed", !bIsHidden);
- static constexpr OUStringLiteral propNameSD(u"ShowDetail");
+ static constexpr OUString propNameSD(u"ShowDetail"_ustr);
bool bShowDetail = false;
CPPUNIT_ASSERT(xItem->getPropertyValue(propNameSD) >>= bShowDetail);