ooo30gsl01: #i112083# fix return value in PreNotfiy
This commit is contained in:
parent
3fefb12c8d
commit
6232a745c8
1 changed files with 4 additions and 0 deletions
|
@ -135,7 +135,10 @@ long FindTextFieldControl::PreNotify( NotifyEvent& rNEvt )
|
||||||
sal_uInt16 nCode = pKeyEvent->GetKeyCode().GetCode();
|
sal_uInt16 nCode = pKeyEvent->GetKeyCode().GetCode();
|
||||||
|
|
||||||
if ( (bCtrl && bAlt && KEY_F == nCode) || KEY_ESCAPE == nCode )
|
if ( (bCtrl && bAlt && KEY_F == nCode) || KEY_ESCAPE == nCode )
|
||||||
|
{
|
||||||
|
nRet = 1;
|
||||||
GrabFocusToDocument();
|
GrabFocusToDocument();
|
||||||
|
}
|
||||||
|
|
||||||
if ( KEY_RETURN == nCode )
|
if ( KEY_RETURN == nCode )
|
||||||
{
|
{
|
||||||
|
@ -154,6 +157,7 @@ long FindTextFieldControl::PreNotify( NotifyEvent& rNEvt )
|
||||||
lArgs[1].Value <<= sal_False;
|
lArgs[1].Value <<= sal_False;
|
||||||
|
|
||||||
impl_executeSearch(m_xServiceManager, m_xFrame, lArgs);
|
impl_executeSearch(m_xServiceManager, m_xFrame, lArgs);
|
||||||
|
nRet = 1;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue