summaryrefslogtreecommitdiff
path: root/bean/com/sun/star
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-07-07 12:16:03 +0000
committerOliver Bolte <obo@openoffice.org>2005-07-07 12:16:03 +0000
commit2a6b4e0843c646c0a4d6a50de58414e2de7b673d (patch)
tree18aa62d42d29730ae099fd83d0da767724cb45af /bean/com/sun/star
parent45c6a5a44e35487a65872a4fbff36a98eaa9fd0f (diff)
INTEGRATION: CWS jl22 (1.3.16); FILE MERGED
2005/06/29 14:24:23 jl 1.3.16.1: #i51343# LocalOfficeWindow.removeNotify
Diffstat (limited to 'bean/com/sun/star')
-rw-r--r--bean/com/sun/star/comp/beans/LocalOfficeWindow.java18
1 files changed, 16 insertions, 2 deletions
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.