summaryrefslogtreecommitdiffstats
path: root/include/codemaker/typemanager.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/codemaker/typemanager.hxx')
-rw-r--r--include/codemaker/typemanager.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/codemaker/typemanager.hxx b/include/codemaker/typemanager.hxx
index 5a2d50ec0d90..f76fbb4ca7ea 100644
--- a/include/codemaker/typemanager.hxx
+++ b/include/codemaker/typemanager.hxx
@@ -22,6 +22,7 @@
#include <sal/config.h>
+#include <string_view>
#include <vector>
#include <codemaker/unotype.hxx>
@@ -63,11 +64,11 @@ private:
};
-inline OString u2b(OUString const & s) {
+inline OString u2b(std::u16string_view s) {
return OUStringToOString(s, RTL_TEXTENCODING_UTF8);
}
-inline OUString b2u(OString const & s) {
+inline OUString b2u(std::string_view s) {
return OStringToOUString(s, RTL_TEXTENCODING_UTF8);
}