summaryrefslogtreecommitdiff
path: root/idlc/source/astenum.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/astenum.cxx')
-rw-r--r--idlc/source/astenum.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/idlc/source/astenum.cxx b/idlc/source/astenum.cxx
index 7332f1c76d32..1f330b18f780 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( OUString::fromUtf8(getFullName()), localKey))
+ if (rKey.createKey( OStringToOUString(getFullName(), RTL_TEXTENCODING_UTF8 ), 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,
- OUString::fromUtf8(getRelativName()), 0,
+ OStringToOUString(getRelativName(), RTL_TEXTENCODING_UTF8), 0,
nConst, 0, 0);
DeclList::const_iterator iter = getIteratorBegin();