diff options
Diffstat (limited to 'svx/source/form')
-rw-r--r-- | svx/source/form/tabwin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/tabwin.cxx b/svx/source/form/tabwin.cxx index bd1b51017d11..8e77dfe2457d 100644 --- a/svx/source/form/tabwin.cxx +++ b/svx/source/form/tabwin.cxx @@ -270,7 +270,7 @@ sal_Bool FmFieldWin::createSelectionControls( ) } //----------------------------------------------------------------------- -long FmFieldWin::PreNotify( NotifyEvent& _rNEvt ) +bool FmFieldWin::PreNotify( NotifyEvent& _rNEvt ) { if ( EVENT_KEYINPUT == _rNEvt.GetType() ) { @@ -278,7 +278,7 @@ long FmFieldWin::PreNotify( NotifyEvent& _rNEvt ) if ( ( 0 == rKeyCode.GetModifier() ) && ( KEY_RETURN == rKeyCode.GetCode() ) ) { if ( createSelectionControls() ) - return 1; + return true; } } |