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


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


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.