diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2019-01-03 13:38:52 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2019-01-03 14:38:42 +0100 |
commit | f90ec6941c745cd4478aff825e175fde0b873a12 (patch) | |
tree | d5308f701d2f494d60bb4a339de9bc4c08c07472 /vcl | |
parent | 608cd2cfe9c82855360c94d629eaac7a76ae212a (diff) |
Remove obsolete scope
The comment here states that the braces are for DbgChkThis; and it was so
when the code arrived in commit 8ab086b6cc054501bfbf7ef6fa509c393691e860.
Change-Id: Iba96822cf3c92217d0da2a15ce6d0976e8397793
Reviewed-on: https://gerrit.libreoffice.org/65835
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/window2.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx index 877c66bdee05..3d5b1b16368c 100644 --- a/vcl/source/window/window2.cxx +++ b/vcl/source/window/window2.cxx @@ -280,10 +280,6 @@ void Window::EndTracking( TrackingEventFlags nFlags ) if ( pSVData->maWinData.mpTrackWin.get() == this ) { - // due to DbgChkThis in brackets, as the window could be destroyed - // in the handler - { - if ( pSVData->maWinData.mpTrackTimer ) { delete pSVData->maWinData.mpTrackTimer; @@ -293,7 +289,6 @@ void Window::EndTracking( TrackingEventFlags nFlags ) pSVData->maWinData.mpTrackWin = nullptr; pSVData->maWinData.mnTrackFlags = StartTrackingFlags::NONE; ReleaseMouse(); - } // call EndTracking if required { |