summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/servicemanager.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/cppuhelper/source/servicemanager.cxx b/cppuhelper/source/servicemanager.cxx
index 6cabae88f0dc..009fe137d550 100644
--- a/cppuhelper/source/servicemanager.cxx
+++ b/cppuhelper/source/servicemanager.cxx
@@ -13,6 +13,7 @@
#include <cassert>
#include <iostream>
#include <mutex>
+#include <string_view>
#include <vector>
#include <com/sun/star/beans/NamedValue.hpp>
@@ -1798,7 +1799,7 @@ cppuhelper::ServiceManager::findServiceImplementation(
/// Make a simpler unique name for preload / progress reporting.
#ifndef DISABLE_DYNLOADING
-static OUString simplifyModule(const OUString &uri)
+static OUString simplifyModule(std::u16string_view uri)
{
sal_Int32 nIdx;
OUStringBuffer edit(uri);