summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorRas-al-Ghul <dipankar1995@gmail.com>2016-01-08 01:11:54 +0530
committerMichael Meeks <michael.meeks@collabora.com>2016-01-08 10:09:13 +0000
commit604a3bfbcf4515dd090949df57274d86cafaea21 (patch)
tree8fed3c9af4b111bc6ad8b93cc08dfefd6aee03e3 /vcl
parent07ce6f1192ad65ec63bf174b35298fa040207646 (diff)
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@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/lstbox.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx
index e15d09e5add7..a435b85534ea 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 );
}