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


On 31/07/12 18:16, János Uray wrote:
Why did you extend the comment: "// converting value to unsigned /and limit to 2 or 4 byte representation/"? GetInteger() and GetLong() return sal_Int16 and sal_Int32, respectively, so the static_casts only convert them to unsigned.
it's just the way I think about it :-) the basic language numerical representation is a 2 byte or 4byte format, that with the fact the value in basic types is one big huge union :-) If the comment disturbs you or makes things more unclear then feel free to get rid of it ( to be honest I don't even recall typing it :-) )

Noel

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.