summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-02-06 12:49:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-02-06 17:08:27 +0100
commit8f5368185661eefcd5e6e6696ac429022e0a983c (patch)
treeab85b7c7abcf132361612541fb81b8bfd739832e /vcl/qa/cppunit
parent0a5d4dc25c5521de221f63dbc47c6ba79a51f8fb (diff)
return string_view from some XmlWalker methods
elides some OString temporaries Change-Id: Ic07f18eb3c71637593e64128605c1ebfa8e68474 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163044 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/qa/cppunit')
-rw-r--r--vcl/qa/cppunit/pdfexport/pdfexport2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qa/cppunit/pdfexport/pdfexport2.cxx b/vcl/qa/cppunit/pdfexport/pdfexport2.cxx
index 130d77be8ef3..5942ece0b95e 100644
--- a/vcl/qa/cppunit/pdfexport/pdfexport2.cxx
+++ b/vcl/qa/cppunit/pdfexport/pdfexport2.cxx
@@ -1178,7 +1178,7 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest2, testPdfUaMetadata)
tools::XmlWalker aWalker;
CPPUNIT_ASSERT(aWalker.open(&rStream));
- CPPUNIT_ASSERT_EQUAL("xmpmeta"_ostr, aWalker.name());
+ CPPUNIT_ASSERT_EQUAL(std::string_view("xmpmeta"), aWalker.name());
bool bPdfUaMarkerFound = false;
OString aPdfUaPart;