summaryrefslogtreecommitdiff
path: root/idlc/source/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/parser.y')
-rw-r--r--idlc/source/parser.y10
1 files changed, 3 insertions, 7 deletions
diff --git a/idlc/source/parser.y b/idlc/source/parser.y
index 400778026c9c..a9267ac17ad5 100644
--- a/idlc/source/parser.y
+++ b/idlc/source/parser.y
@@ -61,7 +61,6 @@
using ::rtl::OUString;
using ::rtl::OString;
-using ::rtl::OStringToOUString;
using ::rtl::OStringBuffer;
extern int yylex(void);
@@ -897,8 +896,7 @@ attribute_get_raises:
IDL_GET raises ';'
{
$$.documentation = new rtl::OUString(
- rtl::OStringToOUString(
- idlc()->getDocumentation(), RTL_TEXTENCODING_UTF8));
+ rtl::OUString::fromUtf8(idlc()->getDocumentation()));
$$.exceptions = $2;
}
;
@@ -920,8 +918,7 @@ attribute_set_raises:
raises ';'
{
$$.documentation = new rtl::OUString(
- rtl::OStringToOUString(
- idlc()->getDocumentation(), RTL_TEXTENCODING_UTF8));
+ rtl::OUString::fromUtf8(idlc()->getDocumentation()));
$$.exceptions = $3;
}
;
@@ -1203,8 +1200,7 @@ interface_inheritance_decl:
} else {
addInheritedInterface(
ifc, *$4, $1,
- rtl::OStringToOUString(
- idlc()->getDocumentation(), RTL_TEXTENCODING_UTF8));
+ rtl::OUString::fromUtf8(idlc()->getDocumentation()));
}
delete $4;
}