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