diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 16:40:50 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 16:42:29 +0100 |
commit | 04683f14883f4cd64febadd71b327639f1e7edcc (patch) | |
tree | d1195eec7abc45fcf3b28776278f3856638a4a32 /forms/source/richtext/richtextvclcontrol.cxx | |
parent | 734cf8395d745db73f52fd6d625d7deb77ba6d40 (diff) |
Window::Notify should return bool
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
Diffstat (limited to 'forms/source/richtext/richtextvclcontrol.cxx')
-rw-r--r-- | forms/source/richtext/richtextvclcontrol.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/richtext/richtextvclcontrol.cxx b/forms/source/richtext/richtextvclcontrol.cxx index c0e5828a83de..a145f62301d2 100644 --- a/forms/source/richtext/richtextvclcontrol.cxx +++ b/forms/source/richtext/richtextvclcontrol.cxx @@ -287,15 +287,15 @@ namespace frm } //-------------------------------------------------------------------- - long RichTextControl::Notify( NotifyEvent& _rNEvt ) + bool RichTextControl::Notify( NotifyEvent& _rNEvt ) { - long nDone = 0; + bool nDone = false; if ( _rNEvt.GetType() == EVENT_COMMAND ) { const CommandEvent& rEvent = *_rNEvt.GetCommandEvent(); nDone = m_pImpl->HandleCommand( rEvent ); } - return nDone ? nDone : Control::Notify( _rNEvt ); + return nDone || Control::Notify( _rNEvt ); } //-------------------------------------------------------------------- |