On Wed, Jan 9, 2013 at 6:45 PM, Michael Stahl <[email protected]> wrote:

> better to add a new overloaded function, say valueOfInt, and have
>  overloads for all possible C++ integral types, all of which produce
> strings with numbers.  using that consistently would also solve the
> problem of accidentally calling valueOf(a_sal_uInt16) and getting
> surprising results.
>
>
Ha! I was just about to suggest the same thing!
And maybe then we can add
   valueOfBool
   valueOfChar
which will have the lovely effect of eliminating problems with UNO
datatypes.
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to