diff options
Diffstat (limited to 'codemaker/source/commoncpp/commoncpp.cxx')
-rw-r--r-- | codemaker/source/commoncpp/commoncpp.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/codemaker/source/commoncpp/commoncpp.cxx b/codemaker/source/commoncpp/commoncpp.cxx index 07b689a39b06..6774aedf4fba 100644 --- a/codemaker/source/commoncpp/commoncpp.cxx +++ b/codemaker/source/commoncpp/commoncpp.cxx @@ -79,7 +79,8 @@ OString translateUnoToCppType( { buf.append("::css::uno::XInterface"); } else { - buf.append(nucleus.toUtf8()); // nucleus must be a valid UTF-16 + //TODO: check that nucleus is a valid (UTF-8) identifier + buf.append(u2b(nucleus)); } } return buf.makeStringAndClear(); |