[Libreoffice] [PATCH] Replaced deprecated types in funcdesc

Caolán McNamara caolanm at redhat.com
Mon Jan 17 04:39:48 PST 2011


On Sun, 2011-01-16 at 23:15 +0100, Soeren Moeller wrote:
> Hi
> 
> I have replaced String with OUString,

Kohei will probably look at this one, but

- String aDefArgNameValue(RTL_CONSTASCII_USTRINGPARAM("value"));
+ ::rtl::OUString aDefArgNameValue
= ::rtl::OUString::createFromAscii("value");

+ ::rtl::OUString
aDefArgNameValue(RTL_CONSTASCII_USTRINGPARAM("value"));

would be preferable style here.

C.



More information about the LibreOffice mailing list