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 b37ff90e6b73..7b9797981e61 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 = OStringToOUString(exprTypeToString(getConstValueType()), RTL_TEXTENCODING_UTF8);
+ type = OUString::fromUtf8(exprTypeToString(getConstValueType()));
}
rBlob.setFieldData(
index, getDocumentation(), OUString(),
RT_ACCESS_CONST | (published ? RT_ACCESS_PUBLISHED : 0),
- OStringToOUString(name, RTL_TEXTENCODING_UTF8), type, aConst);
+ OUString::fromUtf8(name), type, aConst);
return true;
}