diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-04 13:38:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-04 13:38:34 +0000 |
commit | 2449221b89e70a7f2c8db7e68b9954ed310f7887 (patch) | |
tree | 9a911954742c173203d308c17d0d0b624c4de53b /codemaker/source | |
parent | ab23763bc0bf9e652f2aec2071796307fe82252a (diff) |
use RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'codemaker/source')
-rw-r--r-- | codemaker/source/cunomaker/cunotype.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codemaker/source/cunomaker/cunotype.cxx b/codemaker/source/cunomaker/cunotype.cxx index 3333ab6315fe..b2604ef4d6a1 100644 --- a/codemaker/source/cunomaker/cunotype.cxx +++ b/codemaker/source/cunomaker/cunotype.cxx @@ -1446,7 +1446,7 @@ void CunoType::dumpConstantValue(FileStream& o, sal_uInt16 index) { ::rtl::OUString aUStr(constValue.m_value.aString); ::rtl::OString aStr = ::rtl::OUStringToOString(aUStr, RTL_TEXTENCODING_ASCII_US); - o << "::rtl::OUString::createFromAscii(\"" << aStr.getStr() << "\")"; + o << "::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(\"" << aStr.getStr() << "\"))"; } break; } |