diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2011-03-28 15:37:38 +0200 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2011-03-28 15:37:38 +0200 |
commit | 62b76b304b04ff16da5e5f801bba791861feab18 (patch) | |
tree | bf8e3edce1d763695bf2520c308ac53adcf73f23 /vcl/source | |
parent | d26d7768d7315d783fd143765ae68bc802c4445b (diff) | |
parent | a754527bb20058cee5fc9bffaed1861e7239fa78 (diff) |
CWS-TOOLING: integrate CWS dba34d
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/control/lstbox.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx index 594b76684a1a..49b949bdefdc 100644 --- a/vcl/source/control/lstbox.cxx +++ b/vcl/source/control/lstbox.cxx @@ -290,8 +290,15 @@ IMPL_LINK( ListBox, ImplSelectionChangedHdl, void*, n ) Image aImage = mpImplLB->GetEntryList()->GetEntryImage( nChanged ); mpImplWin->SetImage( aImage ); } - mpImplWin->Invalidate(); } + else + { + mpImplWin->SetItemPos( LISTBOX_ENTRY_NOTFOUND ); + mpImplWin->SetString( ImplGetSVEmptyStr() ); + Image aImage; + mpImplWin->SetImage( aImage ); + } + mpImplWin->Invalidate(); } return 1; } |