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>
This commit is contained in:
committed by
Michael Meeks
parent
b1ad632c72
commit
f78ec21a80
@@ -700,12 +700,10 @@ bool DockingWindow::PrepareToggleFloatingMode()
|
|||||||
|
|
||||||
bool DockingWindow::Close()
|
bool DockingWindow::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;
|
||||||
|
Reference in New Issue
Block a user