summaryrefslogtreecommitdiff
path: root/codemaker/source/cppumaker/cppumaker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker/source/cppumaker/cppumaker.cxx')
-rw-r--r--codemaker/source/cppumaker/cppumaker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/codemaker/source/cppumaker/cppumaker.cxx b/codemaker/source/cppumaker/cppumaker.cxx
index 9adf31d07d36..b1769eda87a6 100644
--- a/codemaker/source/cppumaker/cppumaker.cxx
+++ b/codemaker/source/cppumaker/cppumaker.cxx
@@ -54,7 +54,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
}
codemaker::GeneratedTypeSet generated;
if (options.isValid("-T")) {
- OUString names(OUString::fromUtf8(options.getOption("-T")));
+ OUString names(b2u(options.getOption("-T")));
for (sal_Int32 i = 0; i != -1;) {
OUString name(names.getToken(0, ';', i));
if (!name.isEmpty()) {