Apache OpenOffice (AOO) Bugzilla – Issue 24753
macro crashes OOo
Last modified: 2005-01-25 15:49:44 UTC
Hi, this macro line crashes OOo (leading to report) lstChantier is a listBoxt txtNomChantier is a textbox dlgBenne.getControl("lstChantier").additem(dlgChantier.getControl ("txtNomChantier").text,true) Yes this line is wrong as the second arg should be a numeric and not boolean BUT This error should be detected instead of crashing OOo laurent
Andreas, please take care of this and target appropriately.
ab->laurent: Sorry, but the whole scenario is not clear to me. Are dlgBenne and dlgChantier different OOo (Basic) dialogs? Are they active when the crash occurs? It's a little bit painfull to reproduce an issue if you have to make guesses about the complete scenario. Could you maybe provide a bugdoc as attachment that shows the problem directly? That would be much easier....
Laurent->ab: Hi andreas As requested, here is a sample (see attachment) The problem comes that boolean true value is binded to a negative value (-1) that crashes the additem method In fact, if i put any negative value instead of a true boolean value, it crashes OOo HTH Laurent
Created attachment 12758 [details] Click the "Crash me" button
reassign to ab@openoffice.org
SW: looks like issue 22558
I agree and set to duplicate of i22558, I will recheck it after integration of cws mt802 *** This issue has been marked as a duplicate of 22558 ***
No crash in src680 m73 -> Closed