To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83415
Issue #|83415
Summary|Invalid index access in example code for DialogCompone
|nt
Component|sdk
Version|680m235
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|samples
Assigned to|jsc
Reported by|bm
------- Additional comments from [EMAIL PROTECTED] Wed Nov 7 13:33:59 +0000
2007 -------
In file examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
there are three method names defined:
private String aHandlerMethod1 = "doit1";
private String aHandlerMethod2 = "doit2";
private String aHandlerMethod3 = "doit3";
All three are handled in callHandlerMethod(). But only two are created and put
in array that can only hold one element:
public String[] getSupportedMethodNames() {
String[] retValue= new String[1];
retValue[0]= aHandlerMethod1;
retValue[1]= aHandlerMethod2;
return retValue;
}
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]