diff options
author | Mathias Bauer <mba@openoffice.org> | 2000-10-13 11:02:25 +0000 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2000-10-13 11:02:25 +0000 |
commit | ae70a0ad53c1c04f535d437a753afb1edb997e9c (patch) | |
tree | d2ebcaaf329f8d1c6bd4e8ada63d4c50152c3b13 | |
parent | 1d7e3be6bb1a44511629ec7f07e3af33092eb274 (diff) |
no hide/show in setComponentWindow; do it in loadFinished/Cancelled
-rw-r--r-- | framework/source/services/frame.cxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 530a06df152d..42431233b8a5 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -2,9 +2,9 @@ * * $RCSfile: frame.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: as $ $Date: 2000-10-12 10:49:55 $ + * last change: $Author: mba $ $Date: 2000-10-13 12:02:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1879,16 +1879,12 @@ void Frame::impl_setComponentWindow( const Reference< XWindow >& xWindow ) m_xComponentWindow = xWindow; // Set correct size before showing the window. impl_resizeComponentWindow(); - if ( m_xComponentWindow.is() == sal_True ) - { - m_xComponentWindow->setVisible( sal_True ); - } + // Destroy old window. if ( xOld.is() == sal_True ) { // All VclComponents are XComponents; so call dispose before discarding // a Reference< XVclComponent >, because this frame is the owner of the Component. - xOld->setVisible( sal_False ); xOld->dispose(); } } |