[Libreoffice-commits] core.git: vcl/source
Ras-al-Ghul
dipankar1995 at gmail.com
Fri Jan 8 02:09:34 PST 2016
vcl/source/control/lstbox.cxx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 604a3bfbcf4515dd090949df57274d86cafaea21
Author: Ras-al-Ghul <dipankar1995 at gmail.com>
Date: Fri Jan 8 01:11:54 2016 +0530
tdf#96888 Kill internal vcl dog-tags ...
Did some changes to lstbox.cxx file. Patch No. 14
Change-Id: I8e559c55345fa8c72f49c94f1a94906bf03683c7
Reviewed-on: https://gerrit.libreoffice.org/21231
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Tested-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx
index e15d09e..a435b85 100644
--- a/vcl/source/control/lstbox.cxx
+++ b/vcl/source/control/lstbox.cxx
@@ -323,12 +323,10 @@ IMPL_LINK_NOARG_TYPED(ListBox, ImplPopupModeEndHdl, FloatingWindow*, void)
bool bTravelSelect = mpImplLB->IsTravelSelect();
mpImplLB->SetTravelSelect( true );
- ImplDelData aCheckDelete;
- ImplAddDel( &aCheckDelete );
+ VclPtr<vcl::Window> xWindow = this;
Select();
- if ( aCheckDelete.IsDead() )
+ if ( xWindow->IsDisposed() )
return;
- ImplRemoveDel( &aCheckDelete );
mpImplLB->SetTravelSelect( bTravelSelect );
}
More information about the Libreoffice-commits
mailing list