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



On Thu, 2012-11-29 at 22:49 +0100, Eike Rathke wrote:
A pointer wouldn't change much, defaulting to NULL wouldn't make sense
anyway as then the caller wouldn't know what number type was detected
and what format index to apply.

        Sigh - I guess so; I wonder if there is a magic compiler annotation
that can pass "must-be-initialized" for reference variables to
distinguish in/out from out - so the compiler could at least warn for
this case.

However, header file documentation of that function should explicitly
mention how things work and instead of  sal_uInt32& F_Index  naming it
io_rFormatIndex  or some such might help as well.

        I guess :-)

        ATB,

                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.