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.me...@suse.com  <><, Pseudo Engineer, itinerant idiot

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to