diff options
author | Ras-al-Ghul <dipankar1995@gmail.com> | 2016-01-08 01:35:57 +0530 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2016-01-08 16:12:40 +0000 |
commit | 29cd6b92528b319c8248842d47256303b915e097 (patch) | |
tree | 37aca626c4b8476f6d5add24b3b0bfae640423a1 | |
parent | b65af458547264187f28301562db026ef187bec9 (diff) |
tdf#96888 Kill internal vcl dog-tags ...
Did some changes to syswin.cxx file. Patch No. 18
Change-Id: I79d3ea2110ae72762681ae494ee44ba7fc61e112
Reviewed-on: https://gerrit.libreoffice.org/21235
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
-rw-r--r-- | vcl/source/window/syswin.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx index 057b51b8fd67..5ff9f1d67575 100644 --- a/vcl/source/window/syswin.cxx +++ b/vcl/source/window/syswin.cxx @@ -219,12 +219,10 @@ TaskPaneList* SystemWindow::GetTaskPaneList() bool SystemWindow::Close() { - ImplDelData aDelData; - ImplAddDel( &aDelData ); + VclPtr<vcl::Window> xWindow = this; CallEventListeners( VCLEVENT_WINDOW_CLOSE ); - if ( aDelData.IsDead() ) + if ( xWindow->IsDisposed() ) return false; - ImplRemoveDel( &aDelData ); if ( mpWindowImpl->mxWindowPeer.is() && IsCreatedWithToolkit() ) return false; |