summaryrefslogtreecommitdiffstats
path: root/cppu/source/uno/lbenv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/uno/lbenv.cxx')
-rw-r--r--cppu/source/uno/lbenv.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx
index 3a86f9882b7f..93a6a1bb588f 100644
--- a/cppu/source/uno/lbenv.cxx
+++ b/cppu/source/uno/lbenv.cxx
@@ -41,6 +41,7 @@
#include "prim.hxx"
#include "loadmodule.hxx"
+#include <string_view>
#include <unordered_map>
#include <vector>
#include <stdio.h>
@@ -672,7 +673,7 @@ void writeLine(
void writeLine(
- void * stream, const OUString & rLine, const char * pFilter )
+ void * stream, std::u16string_view rLine, const char * pFilter )
{
OString aLine( OUStringToOString(
rLine, RTL_TEXTENCODING_ASCII_US ) );
@@ -777,7 +778,8 @@ extern "C" void SAL_CALL uno_dumpEnvironmentByName(
else
{
writeLine(
- stream, "environment \"" + OUString::unacquired(&pEnvDcp) + "\" does not exist!",
+ stream,
+ OUString("environment \"" + OUString::unacquired(&pEnvDcp) + "\" does not exist!"),
pFilter );
}
}