diff options
Diffstat (limited to 'padmin/source/helper.cxx')
-rw-r--r-- | padmin/source/helper.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/padmin/source/helper.cxx b/padmin/source/helper.cxx index 023923a52472..30f1af76ce67 100644 --- a/padmin/source/helper.cxx +++ b/padmin/source/helper.cxx @@ -140,15 +140,15 @@ void padmin::FindFiles( const OUString& rDirectory, ::std::list< OUString >& rRe * DelMultiListBox */ -long DelMultiListBox::Notify( NotifyEvent& rEvent ) +bool DelMultiListBox::Notify( NotifyEvent& rEvent ) { - long nRet = 0; + bool nRet = false; if( rEvent.GetType() == EVENT_KEYINPUT && rEvent.GetKeyEvent()->GetKeyCode().GetCode() == KEY_DELETE ) { m_aDelPressedLink.Call( this ); - nRet = 1; + nRet = true; } else nRet = MultiListBox::Notify( rEvent ); @@ -160,15 +160,15 @@ long DelMultiListBox::Notify( NotifyEvent& rEvent ) * DelListBox */ -long DelListBox::Notify( NotifyEvent& rEvent ) +bool DelListBox::Notify( NotifyEvent& rEvent ) { - long nRet = 0; + bool nRet = false; if( rEvent.GetType() == EVENT_KEYINPUT && rEvent.GetKeyEvent()->GetKeyCode().GetCode() == KEY_DELETE ) { m_aDelPressedLink.Call( this ); - nRet = 1; + nRet = true; } else nRet = ListBox::Notify( rEvent ); |