summaryrefslogtreecommitdiff
path: root/vcl/source/window/window.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2010-01-26 16:43:42 +0100
committerIvo Hinkelmann <ihi@openoffice.org>2010-01-26 16:43:42 +0100
commit067e9b189b26900e0f3d064b134c9cea5865069d (patch)
tree8933377cca9e07430a2a0bd40fbd1c8099a7cadc /vcl/source/window/window.cxx
parent20c9b2305c7f9c2341961a1aa32bdc151aead3b4 (diff)
parent432e0fcb93c713a39890ec7ed0769521ef6ef3e8 (diff)
CWS-TOOLING: integrate CWS vcl108
Diffstat (limited to 'vcl/source/window/window.cxx')
-rw-r--r--vcl/source/window/window.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index ca0ebb10a4e9..945cf6dcbf3b 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -4759,7 +4759,10 @@ void Window::doLazyDelete()
SystemWindow* pSysWin = dynamic_cast<SystemWindow*>(this);
DockingWindow* pDockWin = dynamic_cast<DockingWindow*>(this);
if( pSysWin || ( pDockWin && pDockWin->IsFloatingMode() ) )
+ {
+ Show( FALSE );
SetParent( ImplGetDefaultWindow() );
+ }
vcl::LazyDeletor<Window>::Delete( this );
}