ooo30gsl01: #i112083# fix return value in PreNotfiy

This commit is contained in:
Philipp Lohmann [pl] 2010-06-14 18:26:43 +02:00
parent 3fefb12c8d
commit 6232a745c8

View file

@ -135,7 +135,10 @@ long FindTextFieldControl::PreNotify( NotifyEvent& rNEvt )
sal_uInt16 nCode = pKeyEvent->GetKeyCode().GetCode();
if ( (bCtrl && bAlt && KEY_F == nCode) || KEY_ESCAPE == nCode )
{
nRet = 1;
GrabFocusToDocument();
}
if ( KEY_RETURN == nCode )
{
@ -154,6 +157,7 @@ long FindTextFieldControl::PreNotify( NotifyEvent& rNEvt )
lArgs[1].Value <<= sal_False;
impl_executeSearch(m_xServiceManager, m_xFrame, lArgs);
nRet = 1;
}
break;
}