diff options
-rw-r--r-- | svx/source/tbxctrls/tbunosearchcontrollers.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx index 5221e49e72bb..e660646aee31 100644 --- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx +++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx @@ -132,12 +132,10 @@ long FindTextFieldControl::PreNotify( NotifyEvent& rNEvt ) case EVENT_KEYINPUT: { const KeyEvent* pKeyEvent = rNEvt.GetKeyEvent(); - sal_Bool bCtrl = pKeyEvent->GetKeyCode().IsMod1(); - sal_Bool bAlt = pKeyEvent->GetKeyCode().IsMod2(); sal_Bool bShift = pKeyEvent->GetKeyCode().IsShift(); sal_uInt16 nCode = pKeyEvent->GetKeyCode().GetCode(); - if ( (bCtrl && bAlt && KEY_F == nCode) || KEY_ESCAPE == nCode ) + if ( KEY_ESCAPE == nCode ) { nRet = 1; GrabFocusToDocument(); |