summaryrefslogtreecommitdiff
path: root/vcl/source/window/scrwnd.cxx
diff options
context:
space:
mode:
authorRas-al-Ghul <dipankar1995@gmail.com>2016-01-26 22:10:52 +0530
committerMichael Meeks <michael.meeks@collabora.com>2016-01-29 16:09:45 +0000
commit1db7af8bc9febdf72138fac533ec81d6983da729 (patch)
treef43b906ea2fd12145b6712276b344c3a05bce3b1 /vcl/source/window/scrwnd.cxx
parent2f2f530435c848bf69f5aa035a57d6d6a4152bf6 (diff)
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 <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'vcl/source/window/scrwnd.cxx')
-rw-r--r--vcl/source/window/scrwnd.cxx4
1 files changed, 2 insertions, 2 deletions
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<ImplWheelWindow> xWin(this);
pWindow->Command( aCEvt );
- if( aDel.IsDead() )
+ if( xWin->IsDisposed() )
return;
mnRepaintTime = std::max( tools::Time::GetSystemTicks() - nTime, (sal_uInt64)1 );
ImplRecalcScrollValues();