diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-06 07:45:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-06 13:51:10 +0200 |
commit | 05050cdb23de586870bf479a9df5ced06828d498 (patch) | |
tree | a34c3bba9a921a5e9abf23d5757c15dfaea0ceac /idlc/source/parser.y | |
parent | 8f266781a6bd6a629bce65c0f613683047c9a794 (diff) |
use the new OUString::fromUtf8 method
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
Diffstat (limited to 'idlc/source/parser.y')
-rw-r--r-- | idlc/source/parser.y | 10 |
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; } |