summaryrefslogtreecommitdiff
path: root/idlc/source/astconstant.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/astconstant.cxx')
-rw-r--r--idlc/source/astconstant.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/idlc/source/astconstant.cxx b/idlc/source/astconstant.cxx
index 7b9797981e61..b37ff90e6b73 100644
--- a/idlc/source/astconstant.cxx
+++ b/idlc/source/astconstant.cxx
@@ -109,13 +109,13 @@ bool AstConstant::dumpBlob(
OUString type;
if ( getNodeType() != NT_enum_val )
{
- type = OUString::fromUtf8(exprTypeToString(getConstValueType()));
+ type = OStringToOUString(exprTypeToString(getConstValueType()), RTL_TEXTENCODING_UTF8);
}
rBlob.setFieldData(
index, getDocumentation(), OUString(),
RT_ACCESS_CONST | (published ? RT_ACCESS_PUBLISHED : 0),
- OUString::fromUtf8(name), type, aConst);
+ OStringToOUString(name, RTL_TEXTENCODING_UTF8), type, aConst);
return true;
}