[Libreoffice] [PATCH] RTL_CONSTASCII_USTRINGPARAM for calc_unoobj

David Tardon dtardon at redhat.com
Fri Nov 12 03:58:25 PST 2010


On Thu, Nov 11, 2010 at 06:45:45PM +0100, Julien Nabet wrote:
> Hello,
> 
> Here's a patch for calc/sc/source/ui/unoobj
> 
> Julien.
> (LGPLv3+ / MPL)

Pushed. Again, it's better to initialize strings as

rtl::OUString foo(RTL_CONSTASCII_USTRINGPARAM("foo"));

instead of

rtl::OUString foo = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("foo"));

I changed the one or two instances of this.

D.


More information about the LibreOffice mailing list