On Wed, 2013-01-09 at 16:10 +0200, Noel Grandin wrote:
maybe we need
OUString::valueOfInt32(sal_Int32)
that does the cast for us?
At least it'll be less noisy, and we can document in one place why
it's necessary.
Looks less error prone to me; doesn't suffer from odd side-effects of
un-related type changes as badly either; hopefully fixes the perennial
64bit vs. 32bit issues. Can be in-lined to produce ~identical code, we
could deprecated the old valueOf() methods just to beef up the idea that
we're continuing to evolve the sal API ;-)
Any profound objections ? [ not that I've time to do it myself of
course ].
Thanks :-)
Michael.
--
michael.meeks@suse.com <><, Pseudo Engineer, itinerant idiot
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.