[Libreoffice] OString += OString + char ... ?

Sébastien Le Ray sebastien at orniz.org
Mon Feb 28 13:50:04 PST 2011


Le Mon, 28 Feb 2011 21:45:36 +0000,
Caolán McNamara <caolanm at redhat.com> a écrit :

> On Sun, 2011-02-27 at 04:27 -0500, Kevin Hunter wrote:
> Three possibilities I guess, 
> 
> 1) remove the "explicit", but I'm sure its there due to some other
> horribly implicit conversion horror
> 2) add a operator+(sal_Char), either one that "just works", or one
> that raises an error at compile time.
> 3) remove the const sal_Char* conversion operator (I'm tempted towards
> this one)

If someone takes this, he/She should add a operator[](int) to allow
byChar access (or a getChar method)...

Sébastien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110228/f15eec9c/attachment.pgp>


More information about the LibreOffice mailing list