using bool in rtl::OUStringBuffer::append

Stephan Bergmann sbergman at redhat.com
Mon Sep 24 05:04:35 PDT 2012


On 09/23/2012 10:49 PM, Markus Mohrhard wrote:
> after I got tinderbox mail complaining about ambiguous overload for
> rtl::OUStringBuffer::append(bool) I wanted to ask if we could add a
> rtl::OUStringBuffer::append(bool) method or if there are reasons
> against it. From what I can see it could in the end even share the
> implementation with the sal_Bool variant just needs an own method in
> rtl::OUStringBuffer.

I see no reason against adding such an overload.  (I would assume 
appending the string representation of a boolean is a feature rarely 
used, so this demand did not arise earlier.)

Stephan


More information about the LibreOffice mailing list