Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | core down when passing a negative position for XListBox::addItem | ||
---|---|---|---|
Product: | App Dev | Reporter: | con.hennessy |
Component: | api | Assignee: | stephan.wunderlich |
Status: | CLOSED FIXED | QA Contact: | issues@api <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues |
Version: | 3.3.0 or older (OOo) | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux, all | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
con.hennessy
2003-11-17 15:55:41 UTC
Thomas, is it you, who is reponsible for this area? Or Malte? TBE->MT: I guess this is yours. WIll fix for OOo 2.0 Fixed in mt802 Create a Dialogs with a ListBox and use this macro: BasicLibraries.LoadLibrary("Tools") oDialog1 = LoadDialog("Standard", "Dialog1") oListBox = oDialog1.GetControl("ListBox1") oListbox.additem("New Item",-13) oDialog1.Execute Fixed in mt802 SW: fixed in cws_mt802 SW: "2) to accept the param, but actually add the item at the end of the list" is the behaviour in cws_mt802 => fixed verified *** Issue 24753 has been marked as a duplicate of this issue. *** SW: works as expected in src680_m24 => closed oDialog1 = createUnoDialog(DialogLibraries.Standard.Dialog1) oListBox = oDialog1.GetControl("ListBox1") oListbox.additem("New Item",-13) oDialog1.Execute demonstrates that the item with the wrong index is added at the end of the list. |