Hi Joachin, I just have modified and tested my new bean thanks to your advice. I attached the Diff with a comment to the issue. I simply added a method terminateOOo as suggested on the issue. This method check if there are other components in the desktop and terminate the office if there is only the bean.
I hope this could be integrated :) Thanks for your help Cedric Quoting Joachim Lingner <[EMAIL PROTECTED]>: > Hi, > there is a bug concerning the termination of the bean (60473). What you > could to is to modify the OOoBean code yourself. > You could for example add a function to OOoBean that removes the event > listener (private class EventListener in > com/sun/star/comp/beans/OOoBean.java). > after calling this method, you could call XDesktop.terminate. Currently > the event lister is notified and throws a TerminationVetoException. > Thats why the listener must be removed before. > This may work for your case. > > Joachim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]