Apache OpenOffice (AOO) Bugzilla – Issue 106892
[From Symphony] new issue to track the problem of API Format().
Last modified: 2017-05-20 11:29:44 UTC
Per noel's comment, create this new issue to track the problem of API Format(). The original issue id is: 106276.
Created attachment 66099 [details] Sample file for this issue
Created attachment 66100 [details] Patch for this issue
Extra parameters are being ignored for the moment. Will process extra parameters in future.
like mentioned in issue #106276 the patch needs to be something like ( untested code below ) uSHORT nMaxArgs = 3; if ( sbiRuntime::isVBAEnabled() ) nMaxArgs = 5; // in vba mode up to 5 params can be passed ( and if there are passed currently they will be ignored => #TODO ) if ( nArgCount < 2 || nArgCount > nMaxArgs ) StarBASIC::Error( SbERR_BAD_ARGUMENT );
Reset assigne to the default "issues@openoffice.apache.org".