From 2a4ccc0c1e836fb7cde991c1233ca5a63599ec8b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 11 Sep 2015 13:27:40 +0200 Subject: convert Link<> to typed Change-Id: I1c501671d72edd5b998e80c7fa1e91dbeb507af8 --- toolkit/source/awt/vclxwindow.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'toolkit') diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 32943402e3b7..2d50217551f0 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -944,9 +944,8 @@ void VCLXWindow::dispose( ) throw(::com::sun::star::uno::RuntimeException, std: { VclPtr pOutDev = GetOutputDevice(); SetWindow( NULL ); // so that handlers are logged off, if necessary (virtual) - SetOutputDevice( pOutDev ); - pOutDev.disposeAndClear(); SetOutputDevice( NULL ); + pOutDev.disposeAndClear(); } // #i14103# dispose the accessible context after the window has been destroyed, -- cgit v1.2.3