diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-18 00:18:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-18 00:37:49 +0100 |
commit | 602c87b4259d118e5db6d8a990c4695103f916dd (patch) | |
tree | 1cbc6cf8309b680476f5116cd5320f8f6a99c32a /sw/source/ui/dbui/createaddresslistdialog.cxx | |
parent | 849482c0ea88c4aa70ec56adfefe7e59b6060950 (diff) |
Window::PreNotify should return bool
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
Diffstat (limited to 'sw/source/ui/dbui/createaddresslistdialog.cxx')
-rw-r--r-- | sw/source/ui/dbui/createaddresslistdialog.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/dbui/createaddresslistdialog.cxx b/sw/source/ui/dbui/createaddresslistdialog.cxx index 0c5375972c61..59b4bc201add 100644 --- a/sw/source/ui/dbui/createaddresslistdialog.cxx +++ b/sw/source/ui/dbui/createaddresslistdialog.cxx @@ -66,7 +66,7 @@ class SwAddressControl_Impl : public Control void MakeVisible(const Rectangle& aRect); - virtual long PreNotify( NotifyEvent& rNEvt ); + virtual bool PreNotify( NotifyEvent& rNEvt ); virtual void Command( const CommandEvent& rCEvt ); using Window::SetData; @@ -327,7 +327,7 @@ void SwAddressControl_Impl::Command( const CommandEvent& rCEvt ) } } -long SwAddressControl_Impl::PreNotify( NotifyEvent& rNEvt ) +bool SwAddressControl_Impl::PreNotify( NotifyEvent& rNEvt ) { if(rNEvt.GetType() == EVENT_COMMAND) { @@ -336,7 +336,7 @@ long SwAddressControl_Impl::PreNotify( NotifyEvent& rNEvt ) if( COMMAND_WHEEL == nCmd ) { Command(*pCEvt); - return 1; + return true; } } return Control::PreNotify(rNEvt); |