[Libreoffice] [PUSHED] Re: [PATCH 02/12] RTL_CONSTASCII_USTRINGPARAM in components cui options

Jan Holesovsky kendy at suse.cz
Thu Nov 25 12:33:59 PST 2010


Hi Wol,

On 2010-11-23 at 20:49 +0000, Wols Lists wrote:

> >  String aFoo = String::createFromAscii( "Something" )
> >
> > should be replaced, with
> >
> >  String aFoo( RTL_CONSTASCII_USTRINGPARAM( "Something" ) )
>
> Fine. Fixes in base will appear as I spot them :-) Just one important
> little point - the reason I asked is that I think the strings might
> actually be being passed to a non-OOo library - will this break a
> third-party library? (My C++-foo isn't good enough to answer this
> question for myself :-)

This 'String' is an LibO internal class too (usually called "tools
string"), so should be no problem.  Or do you mean something different?

Regards,
Kendy



More information about the LibreOffice mailing list