summaryrefslogtreecommitdiff
path: root/automation/source
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-11-09 15:52:13 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-11-09 15:52:13 +0000
commit4d828f31b81cdc1bb4853723bfdddc11bbbc8cbf (patch)
tree8d8150fcd3677d38358835a59d1771e8bb3a6e3d /automation/source
parent6d1b12ce5a411b1a8119d9ce74a645aa21c209df (diff)
INTEGRATION: CWS gh8 (1.8.6); FILE MERGED
2004/10/18 14:25:33 gh 1.8.6.1: #117519#destroy windows on exit
Diffstat (limited to 'automation/source')
-rw-r--r--automation/source/server/server.cxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/automation/source/server/server.cxx b/automation/source/server/server.cxx
index 1fa9186662fe..5d78364a3c2b 100644
--- a/automation/source/server/server.cxx
+++ b/automation/source/server/server.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: server.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: obo $ $Date: 2004-09-09 17:23:26 $
+ * last change: $Author: hr $ $Date: 2004-11-09 16:52:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -971,6 +971,16 @@ ImplRemoteControl::~ImplRemoteControl()
if ( pServiceMgr )
pServiceMgr->StopCommunication();
+ if ( GetTTSettings()->pDisplayHidWin )
+ {
+ delete (Window*)(GetTTSettings()->pDisplayHidWin);
+ GetTTSettings()->pDisplayHidWin = NULL;
+ }
+ if ( GetTTSettings()->pTranslateWin )
+ {
+ delete (Window*)(GetTTSettings()->pTranslateWin);
+ GetTTSettings()->pTranslateWin = NULL;
+ }
#if OSL_DEBUG_LEVEL > 1
delete m_pDbgWin;
#endif