diff options
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/richtext/richtextvclcontrol.cxx | 6 | ||||
-rw-r--r-- | forms/source/richtext/richtextvclcontrol.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/richtext/richtextvclcontrol.cxx b/forms/source/richtext/richtextvclcontrol.cxx index a145f62301d2..67a4f7c43746 100644 --- a/forms/source/richtext/richtextvclcontrol.cxx +++ b/forms/source/richtext/richtextvclcontrol.cxx @@ -194,7 +194,7 @@ namespace frm } //-------------------------------------------------------------------- - long RichTextControl::PreNotify( NotifyEvent& _rNEvt ) + bool RichTextControl::PreNotify( NotifyEvent& _rNEvt ) { if ( IsWindowOrChild( _rNEvt.GetWindow() ) ) { @@ -213,7 +213,7 @@ namespace frm KeyCode aNewCode( KEY_TAB, bShift, sal_False, sal_False, sal_False ); ::KeyEvent aNewEvent( pKeyEvent->GetCharCode(), aNewCode ); Control::KeyInput( aNewEvent ); - return 1; // handled + return true; // handled } #if OSL_DEBUG_LEVEL > 0 @@ -278,7 +278,7 @@ namespace frm } DELETEZ( pStream ); } - return 1; // handled + return true; // handled } #endif } diff --git a/forms/source/richtext/richtextvclcontrol.hxx b/forms/source/richtext/richtextvclcontrol.hxx index 35b59916560f..e603af87481f 100644 --- a/forms/source/richtext/richtextvclcontrol.hxx +++ b/forms/source/richtext/richtextvclcontrol.hxx @@ -109,7 +109,7 @@ namespace frm virtual void Resize(); virtual void GetFocus(); virtual void StateChanged( StateChangedType nStateChange ); - virtual long PreNotify( NotifyEvent& _rNEvt ); + virtual bool PreNotify( NotifyEvent& _rNEvt ); virtual bool Notify( NotifyEvent& _rNEvt ); private: |