diff options
Diffstat (limited to 'idlc/source/astenum.cxx')
-rw-r--r-- | idlc/source/astenum.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/idlc/source/astenum.cxx b/idlc/source/astenum.cxx index 1f330b18f780..7332f1c76d32 100644 --- a/idlc/source/astenum.cxx +++ b/idlc/source/astenum.cxx @@ -60,7 +60,7 @@ AstConstant* AstEnum::checkValue(AstExpression* pExpr) bool AstEnum::dump(RegistryKey& rKey) { RegistryKey localKey; - if (rKey.createKey( OStringToOUString(getFullName(), RTL_TEXTENCODING_UTF8 ), localKey)) + if (rKey.createKey( OUString::fromUtf8(getFullName()), localKey)) { fprintf(stderr, "%s: warning, could not create key '%s' in '%s'\n", idlc()->getOptions()->getProgramName().getStr(), @@ -75,7 +75,7 @@ bool AstEnum::dump(RegistryKey& rKey) typereg::Writer aBlob( m_bPublished ? TYPEREG_VERSION_1 : TYPEREG_VERSION_0, getDocumentation(), emptyStr, RT_TYPE_ENUM, m_bPublished, - OStringToOUString(getRelativName(), RTL_TEXTENCODING_UTF8), 0, + OUString::fromUtf8(getRelativName()), 0, nConst, 0, 0); DeclList::const_iterator iter = getIteratorBegin(); |