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:
parent
b1ad632c72
commit
f78ec21a80
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user