summaryrefslogtreecommitdiff
path: root/padmin/source/padialog.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-07-06 08:22:38 +0000
committerOliver Bolte <obo@openoffice.org>2005-07-06 08:22:38 +0000
commit48d669335aa57e60fd02802016122ad96c633fb3 (patch)
tree219a28d45e1eb81948d05b4fc986ee111ce08cfe /padmin/source/padialog.cxx
parente95e792c259c182a3ac8a32458677a1b981f0c14 (diff)
INTEGRATION: CWS vcl41 (1.14.34); FILE MERGED
2005/06/24 11:37:41 pl 1.14.34.1: #i50364# prevent accessing child controls in dtor
Diffstat (limited to 'padmin/source/padialog.cxx')
-rw-r--r--padmin/source/padialog.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/padmin/source/padialog.cxx b/padmin/source/padialog.cxx
index 28e6935d418f..60a72f08b0df 100644
--- a/padmin/source/padialog.cxx
+++ b/padmin/source/padialog.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: padialog.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: rt $ $Date: 2005-01-31 09:28:06 $
+ * last change: $Author: obo $ $Date: 2005-07-06 09:22:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -204,7 +204,9 @@ PADialog::~PADialog()
long PADialog::Notify( NotifyEvent& rEv )
{
- if( rEv.GetType() == EVENT_GETFOCUS || rEv.GetType() == EVENT_LOSEFOCUS )
+ if( IsVisible() &&
+ (rEv.GetType() == EVENT_GETFOCUS || rEv.GetType() == EVENT_LOSEFOCUS )
+ )
{
if( m_rPIManager.checkPrintersChanged() )
{