[PATCH] sal_bool and String conversions
Stephan Bergmann
sbergman at redhat.com
Tue Oct 2 09:44:53 PDT 2012
On 10/02/2012 04:22 PM, Noel Grandin wrote:
> Part of my motivation for adding this, besides making String->OUString
> conversion easier, was that OUString already has the operator+= methods.
Yes, but OUStringBuffer only has append() until now, and---as Michael
already pointed out---some append() overloads take multiple parameters,
so cannot map naturally to operator+=. So I see more value in keeping
the append() vs. operator+= difference between OUStringBuffer and
OUString, than in removing that difference but instead introducing
differences between what OUStringBuffer::append() supports vs. what any
new OUStringBuffer::operator+= would support.
Stephan
More information about the LibreOffice
mailing list