[Libreoffice-commits] core.git: vcl/source

Ras-al-Ghul dipankar1995 at gmail.com
Fri Jan 8 08:13:02 PST 2016


 vcl/source/window/syswin.cxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 29cd6b92528b319c8248842d47256303b915e097
Author: Ras-al-Ghul <dipankar1995 at 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.meeks at collabora.com>
    Tested-by: Michael Meeks <michael.meeks at 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;


More information about the Libreoffice-commits mailing list