summaryrefslogtreecommitdiff
path: root/sw/qa/extras/unowriter/unowriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/extras/unowriter/unowriter.cxx')
-rw-r--r--sw/qa/extras/unowriter/unowriter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/unowriter/unowriter.cxx b/sw/qa/extras/unowriter/unowriter.cxx
index 895728bd412f..a316f3485777 100644
--- a/sw/qa/extras/unowriter/unowriter.cxx
+++ b/sw/qa/extras/unowriter/unowriter.cxx
@@ -284,7 +284,7 @@ CPPUNIT_TEST_FIXTURE(SwUnoWriter, testGraphicDescriptorURLBitmap)
}
static bool ensureAutoTextExistsByTitle(const uno::Reference<text::XAutoTextGroup>& autoTextGroup,
- const OUString& autoTextName)
+ std::u16string_view autoTextName)
{
const uno::Sequence<OUString> aTitles(autoTextGroup->getTitles());
for (const auto& rTitle : aTitles)
@@ -296,7 +296,7 @@ static bool ensureAutoTextExistsByTitle(const uno::Reference<text::XAutoTextGrou
}
static bool ensureAutoTextExistsByName(const uno::Reference<text::XAutoTextGroup>& autoTextGroup,
- const OUString& autoTextName)
+ std::u16string_view autoTextName)
{
const uno::Sequence<OUString> aTitles(autoTextGroup->getElementNames());
for (const auto& rTitle : aTitles)