Hi Olivier, On Tuesday, 2013-12-03 10:38:25 -0200, Olivier Hallot wrote:
Thanks Eike for the explanation. Although it is a limit almost never reached, do you think this limit can be lifted through an easy-hack? (maybe there is just no demand for that...)
Probably users that have a demand for more than 30 arguments don't use the FunctionWizard because they know what they are doing ;-P But yes, from a first glance that looks like a quite easy EasyHack.. it's redefining VAR_ARGS from 30 to 255 at two places, formula/source/ui/dlg/parawin.cxx and sc/inc/sc.hrc, and check that everywhere where VAR_ARGS+x or PAIRED_VAR_ARGS are used the variable type is of at least sal_uInt16 and not sal_uInt8. As always, hidden details might be lurking to jump on you, for example the PAIRED_VAR_ARGS cases may need special attention. Eike -- LibreOffice Calc developer. Number formatter stricken i18n transpositionizer. GPG key ID: 0x65632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A Support the FSFE, care about Free Software! https://fsfe.org/support/?erack
Attachment:
pgpqJERHr_8eY.pgp
Description: PGP signature