diff options
Diffstat (limited to 'codemaker/source/javamaker/javatype.cxx')
-rw-r--r-- | codemaker/source/javamaker/javatype.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/codemaker/source/javamaker/javatype.cxx b/codemaker/source/javamaker/javatype.cxx index 3130389e916b..da7360f4273d 100644 --- a/codemaker/source/javamaker/javatype.cxx +++ b/codemaker/source/javamaker/javatype.cxx @@ -613,7 +613,7 @@ void writeClassFile( tempfile.createTempFile(getTempDir(filename)); if (!tempfile.isValid()) { throw CannotDumpException( - "Cannot create temporary file for " + b2u(filename)); + "Cannot create temporary file for " + OUString::fromUtf8(filename)); } OString tempname(tempfile.getName()); try { @@ -630,8 +630,8 @@ void writeClassFile( tempfile.close(); if (!makeValidTypeFile(filename, tempname, bCheck)) { throw CannotDumpException( - "Cannot create " + b2u(filename) + " from temporary file " - + b2u(tempname)); + "Cannot create " + OUString::fromUtf8(filename) + " from temporary file " + + OUString::fromUtf8(tempname)); } } @@ -2442,10 +2442,10 @@ void produce( OUString const & name, rtl::Reference< TypeManager > const & manager, codemaker::GeneratedTypeSet & generated, JavaOptions const & options) { - if (generated.contains(u2b(name))) { + if (generated.contains(name.toUtf8())) { return; } - generated.add(u2b(name)); + generated.add(name.toUtf8()); if (!manager->foundAtPrimaryProvider(name)) { return; } |