vcl/source/window/syswin.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
New commits: commit 29cd6b92528b319c8248842d47256303b915e097 Author: Ras-al-Ghul <dipankar1...@gmail.com> Date: Fri Jan 8 01:35:57 2016 +0530 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.me...@collabora.com> Tested-by: Michael Meeks <michael.me...@collabora.com> diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx index 057b51b..5ff9f1d 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits