[Libreoffice-commits] .: codemaker/source
Caolán McNamara
caolan at kemper.freedesktop.org
Tue Jan 4 05:38:40 PST 2011
codemaker/source/cunomaker/cunotype.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e4fd587e5728499f2086dd68d23260558d8d29ca
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Jan 4 13:38:34 2011 +0000
use RTL_CONSTASCII_USTRINGPARAM
diff --git a/codemaker/source/cunomaker/cunotype.cxx b/codemaker/source/cunomaker/cunotype.cxx
index 1258885..802c886 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;
}
More information about the Libreoffice-commits
mailing list