diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-04 13:39:08 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-04 13:39:08 +0000 |
commit | 4a0b1361e3fa172b2af2bde896fab11013dcb730 (patch) | |
tree | 32d4ec05f9a1bf7a06ced816241817896275ce16 /codemaker | |
parent | 2449221b89e70a7f2c8db7e68b9954ed310f7887 (diff) |
use RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/cppumaker/cpputype.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index 22e1c6b01729..3029d96f7d2d 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -1201,7 +1201,7 @@ void CppuType::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; } |