summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-03-12 19:26:26 +0100
committerMichael Stahl <mstahl@redhat.com>2015-03-12 20:22:15 +0100
commit404e4c37f16d1788a615d58bba9ed3929c1e554f (patch)
treebd9cfab1d74a13884000630759e778cd53335e51 /vcl
parent8fc7b35fb6b2782117d045ffc0142eb5a554ca3e (diff)
vcl: PVS-Studio V595 'mpImplWin' pointer could be null
... but actually it's not if mpFloatWin isn't. Change-Id: If26444e94221efb9921e94496905834b3ace7d28
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/lstbox.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx
index 9c6f990ac74d..3669e1813f5f 100644
--- a/vcl/source/control/lstbox.cxx
+++ b/vcl/source/control/lstbox.cxx
@@ -1465,6 +1465,7 @@ void ListBox::SetEdgeBlending(bool bNew)
if(IsDropDownBox())
{
+ assert(mpImplWin);
mpImplWin->Invalidate();
}
else