summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-04 13:38:34 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-04 13:38:34 +0000
commite4fd587e5728499f2086dd68d23260558d8d29ca (patch)
treeb339a5d909bfc8842ef38a85453619d4670516b1 /codemaker
parent0162330680d9c6e1f62b1a6132b9eb018a366850 (diff)
use RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/cunomaker/cunotype.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/codemaker/source/cunomaker/cunotype.cxx b/codemaker/source/cunomaker/cunotype.cxx
index 12588859f..802c8869a 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;
}