diff options
Diffstat (limited to 'bean')
-rw-r--r-- | bean/com/sun/star/comp/beans/OOoBean.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java index 3475447368e4..ca9442d58427 100644 --- a/bean/com/sun/star/comp/beans/OOoBean.java +++ b/bean/com/sun/star/comp/beans/OOoBean.java @@ -1405,7 +1405,10 @@ xLayoutManager.showElement("private:resource/menubar/menubar"); iConnection.addEventListener( this ); // listen on a terminating OOo - getOOoDesktop().addTerminateListener( this ); + try { + getOOoDesktop().addTerminateListener( this ); + } + catch ( Throwable aExc ) {} // start this thread as a daemon setDaemon( true ); |