diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-01-11 13:07:13 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-01-11 13:07:13 +0000 |
commit | 67a466fc754f57004e5e2799198ee0432e7cdd5a (patch) | |
tree | f7e9e65bcb64ee1e82b74f85825b5480343f158e /toolkit | |
parent | 8c8705f5346cb0b88ebe10cb6cba15c284cd4896 (diff) |
INTEGRATION: CWS sb25 (1.39.4); FILE MERGED
2004/12/10 11:04:50 sb 1.39.4.1: #i37760# Avoid potential premature destruction of pNewComp.
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index dadb21456b9b..4dbbf8af340d 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -2,9 +2,9 @@ * * $RCSfile: vclxtoolkit.cxx,v $ * - * $Revision: 1.39 $ + * $Revision: 1.40 $ * - * last change: $Author: obo $ $Date: 2004-11-16 14:08:49 $ + * last change: $Author: rt $ $Date: 2005-01-11 14:07:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -752,8 +752,8 @@ void SAL_CALL VCLXToolkit::disposing() else { pNewComp->SetCreatedWithToolkit( TRUE ); - pNewWindow->SetComponentInterface( pNewComp ); xRef = pNewComp; + pNewWindow->SetComponentInterface( xRef ); } if ( rDescriptor.WindowAttributes & ::com::sun::star::awt::WindowAttribute::SHOW ) |