On Sat, 2010-10-30 at 22:08 +0100, Caolán McNamara wrote:
> old: OUString sFoo(OUString::createFromAscii(bBool ? "true" : "false));
> 
> new: OUString sFoo(RTL_CONSTASCII_USTRINGPARAM(bBool ? "true" :
> "false));
> 
> would be expanded as...
> 
> OUString sFoo(bBool ? "true" : "false, ((sal_Int32)(sizeof(bBool ?
> "true" : "false)-1));
> 
> I think this is fine, but I'm a little bit wary of making that change

Resolved this to my satisfaction, fixed now, thanks :-)

C.

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to