diff options
author | Stephan Schäfer <ssa@openoffice.org> | 2001-07-04 15:58:18 +0000 |
---|---|---|
committer | Stephan Schäfer <ssa@openoffice.org> | 2001-07-04 15:58:18 +0000 |
commit | cb00cc6bd41c9d8941004f07f1be42af31fedefc (patch) | |
tree | 7468cdb88e151f0010588c2253195d0bedda6f34 /vcl/source/window/syswin.cxx | |
parent | 23829e3f73a96f3ffda7c63bb301a9790047cb23 (diff) |
#88454# shutdown dd
Diffstat (limited to 'vcl/source/window/syswin.cxx')
-rw-r--r-- | vcl/source/window/syswin.cxx | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx index 8acef2b5bf95..f8bdccfaab7c 100644 --- a/vcl/source/window/syswin.cxx +++ b/vcl/source/window/syswin.cxx @@ -2,9 +2,9 @@ * * $RCSfile: syswin.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: obr $ $Date: 2001-03-23 12:31:35 $ + * last change: $Author: ssa $ $Date: 2001-07-04 16:58:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -104,10 +104,6 @@ #include <unowrap.hxx> -#ifndef _COM_SUN_STAR_LANG_XCOMPONENT_HPP_ -#include <com/sun/star/lang/XComponent.hpp> -#endif - #ifdef REMOTE_APPSERVER #include "rmwindow.hxx" #endif @@ -160,25 +156,6 @@ long SystemWindow::Notify( NotifyEvent& rNEvt ) BOOL SystemWindow::Close() { - if ( mbFrame && mpFrameData ) - { - try - { - // shutdown drag and drop for this window - Reference< XComponent > xComponent( mpFrameData->mxDropTarget, UNO_QUERY ); - - // DNDEventDispatcher does not hold a reference of the DropTarget, - // so it's ok if it does not support XComponent - if( xComponent.is() ) - xComponent->dispose(); - } - - catch ( Exception exc ) - { - // can be safely ignored here. - } - } - if ( mxWindowPeer.is() ) { // #76482# This window can be destroyed in WindowEvent_Close. |