diff options
author | Ras-al-Ghul <dipankar1995@gmail.com> | 2016-01-08 01:15:54 +0530 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2016-01-08 10:03:56 +0000 |
commit | f78ec21a800a5598a021ae76b5b5d72f03617a54 (patch) | |
tree | 0f68ae60af6f7a264b05d4a7f07d13e34e4900ba | |
parent | b1ad632c72e38973265ad0d3f31120108f120660 (diff) |
tdf#96888 Kill internal vcl dog-tags ...
Did some changes to dockwin.cxx file. Patch No. 15
Change-Id: Iec42df460be350ffbb5aa11a801c7dea2df7c9cd
Reviewed-on: https://gerrit.libreoffice.org/21232
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
-rw-r--r-- | vcl/source/window/dockwin.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx index 2f0fc5b57d9f..84322a9df9b2 100644 --- a/vcl/source/window/dockwin.cxx +++ b/vcl/source/window/dockwin.cxx @@ -700,12 +700,10 @@ bool DockingWindow::PrepareToggleFloatingMode() bool DockingWindow::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; |