Kaydet (Commit) 29cd6b92 authored tarafından Ras-al-Ghul's avatar Ras-al-Ghul Kaydeden (comit) Michael Meeks

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/21235Reviewed-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
Tested-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
üst b65af458
...@@ -219,12 +219,10 @@ TaskPaneList* SystemWindow::GetTaskPaneList() ...@@ -219,12 +219,10 @@ TaskPaneList* SystemWindow::GetTaskPaneList()
bool SystemWindow::Close() bool SystemWindow::Close()
{ {
ImplDelData aDelData; VclPtr<vcl::Window> xWindow = this;
ImplAddDel( &aDelData );
CallEventListeners( VCLEVENT_WINDOW_CLOSE ); CallEventListeners( VCLEVENT_WINDOW_CLOSE );
if ( aDelData.IsDead() ) if ( xWindow->IsDisposed() )
return false; return false;
ImplRemoveDel( &aDelData );
if ( mpWindowImpl->mxWindowPeer.is() && IsCreatedWithToolkit() ) if ( mpWindowImpl->mxWindowPeer.is() && IsCreatedWithToolkit() )
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment