summaryrefslogtreecommitdiff
path: root/include/codemaker/commoncpp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/codemaker/commoncpp.hxx')
-rw-r--r--include/codemaker/commoncpp.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/codemaker/commoncpp.hxx b/include/codemaker/commoncpp.hxx
index b7586e872426..dc1b61c6b32c 100644
--- a/include/codemaker/commoncpp.hxx
+++ b/include/codemaker/commoncpp.hxx
@@ -22,6 +22,8 @@
#include <sal/config.h>
+#include <string_view>
+
#include <codemaker/unotype.hxx>
namespace rtl {
@@ -43,7 +45,7 @@ namespace codemaker::cpp {
rtl::OString scopedCppName(rtl::OString const & type, bool ns_alias=true);
rtl::OString translateUnoToCppType(
- codemaker::UnoType::Sort sort, rtl::OUString const & nucleus);
+ codemaker::UnoType::Sort sort, std::u16string_view nucleus);
enum class IdentifierTranslationMode {
Global,