From 2a6b4e0843c646c0a4d6a50de58414e2de7b673d Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Thu, 7 Jul 2005 12:16:03 +0000 Subject: INTEGRATION: CWS jl22 (1.3.16); FILE MERGED 2005/06/29 14:24:23 jl 1.3.16.1: #i51343# LocalOfficeWindow.removeNotify --- bean/com/sun/star/comp/beans/LocalOfficeWindow.java | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'bean') diff --git a/bean/com/sun/star/comp/beans/LocalOfficeWindow.java b/bean/com/sun/star/comp/beans/LocalOfficeWindow.java index 3f8a35318bbb..5452c3784a16 100644 --- a/bean/com/sun/star/comp/beans/LocalOfficeWindow.java +++ b/bean/com/sun/star/comp/beans/LocalOfficeWindow.java @@ -2,9 +2,9 @@ * * $RCSfile: LocalOfficeWindow.java,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: vg $ $Date: 2005-03-23 08:58:58 $ + * last change: $Author: obo $ $Date: 2005-07-07 13:16:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -282,6 +282,20 @@ public class LocalOfficeWindow return mWindow; } + /** We make sure that the office window is notified that the parent + * will be removed. + */ + public void removeNotify() + { + try { + releaseSystemWindow(); + } catch (java.lang.Exception e) { + System.err.println("LocaleOfficeWindow.removeNotify: Exception in releaseSystemWindow."); + System.err.println(e.getMessage()); + e.printStackTrace(System.err); + } + super.removeNotify(); + } /** * Retrives a platform dependant system window identifier. -- cgit