Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On Wed, Jan 9, 2013 at 6:45 PM, Michael Stahl <mstahl@redhat.com> 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.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.