summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-06-10 08:10:41 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-06-10 08:10:41 +0000
commit332142a44a2ce33b3ce4270efdab0f0826ccf07c (patch)
tree9cc2e3d0d43c3cbfb557e87c7415e93aea2f79b1
parent6d12891e85551f4228c27883b704e1bb5c87228b (diff)
INTEGRATION: CWS fwk05 (1.67.2); FILE MERGED
2003/06/03 12:40:13 mi 1.67.2.1: #109379# Office terminated even with open OOBean
-rw-r--r--framework/source/services/frame.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index 7536d22a205a..f69742f4e1fc 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: frame.cxx,v $
*
- * $Revision: 1.67 $
+ * $Revision: 1.68 $
*
- * last change: $Author: vg $ $Date: 2003-05-28 13:29:35 $
+ * last change: $Author: vg $ $Date: 2003-06-10 09:10:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -664,6 +664,11 @@ void SAL_CALL Frame::initialize( const css::uno::Reference< css::awt::XWindow >&
// Check incoming parameter.
LOG_ASSERT2( implcp_initialize( xWindow ), "Frame::initialize()", "Invalid parameter detected!" )
+ // if window is initially visible, we will never get a windowShowing event
+ Window* pWindow = VCLUnoHelper::GetWindow( xWindow );
+ if ( pWindow && pWindow->IsVisible() )
+ m_bIsHidden = sal_False;
+
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
WriteGuard aWriteLock( m_aLock );