summaryrefslogtreecommitdiff
path: root/vcl/source/control/ilstbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/ilstbox.cxx')
-rw-r--r--vcl/source/control/ilstbox.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index 972447458935..cfd428242ed8 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -2639,9 +2639,9 @@ void ImplListBox::DataChanged( const DataChangedEvent& rDCEvt )
// -----------------------------------------------------------------------
-long ImplListBox::Notify( NotifyEvent& rNEvt )
+bool ImplListBox::Notify( NotifyEvent& rNEvt )
{
- long nDone = 0;
+ bool nDone = false;
if ( rNEvt.GetType() == EVENT_COMMAND )
{
const CommandEvent& rCEvt = *rNEvt.GetCommandEvent();
@@ -2655,7 +2655,7 @@ long ImplListBox::Notify( NotifyEvent& rNEvt )
}
}
- return nDone ? nDone : Window::Notify( rNEvt );
+ return nDone || Window::Notify( rNEvt );
}
// -----------------------------------------------------------------------