OUString is mutable?

Noel Grandin noel at peralex.com
Fri Sep 28 04:46:00 PDT 2012


Hi

I don't really understand the point of not being able to mutate OUString 
in-place, but being able to overwrite it via the assignment operator?

It seems to me it should be one or the other.
Either OUString is immutable, and it cannot be assigned to, except via a 
constructor, or it is mutable, and we can pretty much throw away 
OUStringBuffer.

Regards, Noel Grandin

Disclaimer: http://www.peralex.com/disclaimer.html




More information about the LibreOffice mailing list