summaryrefslogtreecommitdiff
path: root/codemaker/source/commoncpp/commoncpp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker/source/commoncpp/commoncpp.cxx')
-rw-r--r--codemaker/source/commoncpp/commoncpp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/codemaker/source/commoncpp/commoncpp.cxx b/codemaker/source/commoncpp/commoncpp.cxx
index b7eaac4ae59e..efe0dd0b48bf 100644
--- a/codemaker/source/commoncpp/commoncpp.cxx
+++ b/codemaker/source/commoncpp/commoncpp.cxx
@@ -63,7 +63,7 @@ OString scopedCppName(OString const & type, bool ns_alias)
}
OString translateUnoToCppType(
- codemaker::UnoType::Sort sort, OUString const & nucleus)
+ codemaker::UnoType::Sort sort, std::u16string_view nucleus)
{
OStringBuffer buf;
if (sort <= codemaker::UnoType::Sort::Any) {
@@ -75,7 +75,7 @@ OString translateUnoToCppType(
buf.append(cppTypes[static_cast<int>(sort)]);
} else {
if (sort == codemaker::UnoType::Sort::Interface
- && nucleus == "com.sun.star.uno.XInterface")
+ && nucleus == u"com.sun.star.uno.XInterface")
{
buf.append("::css::uno::XInterface");
} else {