summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2010-07-13 14:21:59 +0200
committerKurt Zenker <kz@openoffice.org>2010-07-13 14:21:59 +0200
commitb0b30b48035622f3fa042d04d3719c61542758a8 (patch)
treefd98a84f21c57e92f2342ead73c172145f8715d7 /svx/source
parent3e495e2e5b8ed4573a95c65f5c35fd48764f3ab4 (diff)
parent0b79bcf25a75afe0ae59cdafbc66bd13a7e51161 (diff)
CWS-TOOLING: integrate CWS ooo30gsl01_OOO330
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/tbxctrls/tbunosearchcontrollers.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
index 2d6cfdc40d..25c0576e64 100644
--- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx
+++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
@@ -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;
}