Issue 106892 - [From Symphony] new issue to track the problem of API Format().
Summary: [From Symphony] new issue to track the problem of API Format().
Status: CONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: vba (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-13 12:50 UTC by lihuiibm
Modified: 2017-05-20 11:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Sample file for this issue (34.00 KB, text/plain)
2009-11-13 12:50 UTC, lihuiibm
no flags Details
Patch for this issue (523 bytes, patch)
2009-11-13 12:59 UTC, lihuiibm
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description lihuiibm 2009-11-13 12:50:10 UTC
Per noel's comment, create this new issue to track the problem of API Format().
The original issue id is: 106276.
Comment 1 lihuiibm 2009-11-13 12:50:46 UTC
Created attachment 66099 [details]
Sample file for this issue
Comment 2 lihuiibm 2009-11-13 12:59:50 UTC
Created attachment 66100 [details]
Patch for this issue
Comment 3 lihuiibm 2009-11-16 09:58:00 UTC
Extra parameters are being ignored for the moment. Will process extra parameters
in future.
Comment 4 noel.power 2010-03-09 11:05:01 UTC
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 );
Comment 5 Marcus 2017-05-20 11:29:44 UTC
Reset assigne to the default "issues@openoffice.apache.org".