summaryrefslogtreecommitdiff
path: root/unotest/source/cpp/getargument.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotest/source/cpp/getargument.cxx')
-rw-r--r--unotest/source/cpp/getargument.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unotest/source/cpp/getargument.cxx b/unotest/source/cpp/getargument.cxx
index cb1df427758e..5c40a0a324b4 100644
--- a/unotest/source/cpp/getargument.cxx
+++ b/unotest/source/cpp/getargument.cxx
@@ -27,10 +27,10 @@
namespace test::detail
{
-bool getArgument(OUString const& name, OUString* value)
+bool getArgument(std::u16string_view name, OUString* value)
{
OSL_ASSERT(value != nullptr);
- return rtl::Bootstrap::get("arg-" + name, *value);
+ return rtl::Bootstrap::get(OUString::Concat("arg-") + name, *value);
}
}