From 4d828f31b81cdc1bb4853723bfdddc11bbbc8cbf Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Tue, 9 Nov 2004 15:52:13 +0000
Subject: INTEGRATION: CWS gh8 (1.8.6); FILE MERGED 2004/10/18 14:25:33 gh
1.8.6.1: #117519#destroy windows on exit
---
automation/source/server/server.cxx | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
(limited to 'automation')
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
--
cgit v1.2.1