From 1db7af8bc9febdf72138fac533ec81d6983da729 Mon Sep 17 00:00:00 2001 From: Ras-al-Ghul Date: Tue, 26 Jan 2016 22:10:52 +0530 Subject: tdf#96888 - Kill internal vcl dog-tags ... Removed some more uses of ImplDelData Change-Id: I5f9a5579f0e2ddf3c82aa1b8cdb8afcb02d2f6ea Reviewed-on: https://gerrit.libreoffice.org/21816 Tested-by: Jenkins Reviewed-by: Michael Meeks --- vcl/source/window/scrwnd.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/source/window/scrwnd.cxx') diff --git a/vcl/source/window/scrwnd.cxx b/vcl/source/window/scrwnd.cxx index b438d1e6c009..cd8cbb5e9a46 100644 --- a/vcl/source/window/scrwnd.cxx +++ b/vcl/source/window/scrwnd.cxx @@ -373,9 +373,9 @@ IMPL_LINK_NOARG_TYPED(ImplWheelWindow, ImplScrollHdl, Timer *, void) if ( !ImplCallPreNotify( aNCmdEvt ) ) { const sal_uInt64 nTime = tools::Time::GetSystemTicks(); - ImplDelData aDel( this ); + VclPtr xWin(this); pWindow->Command( aCEvt ); - if( aDel.IsDead() ) + if( xWin->IsDisposed() ) return; mnRepaintTime = std::max( tools::Time::GetSystemTicks() - nTime, (sal_uInt64)1 ); ImplRecalcScrollValues(); -- cgit