summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Schäfer <ssa@openoffice.org>2002-05-07 09:17:39 +0000
committerStephan Schäfer <ssa@openoffice.org>2002-05-07 09:17:39 +0000
commitf2e4785b960c6d1e95f27f403f245ae4b0a295b8 (patch)
treec4923ec61329e8717952ff58312b593092712740 /vcl
parentc3d6a426c20b3982cbd9f5d36eb692e360ce5032 (diff)
#98989# swallow key input while toolbox has focus
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/toolbox.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index 08308eed3a95..fff4fe0a0221 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: toolbox.cxx,v $
*
- * $Revision: 1.39 $
+ * $Revision: 1.40 $
*
- * last change: $Author: ssa $ $Date: 2002-05-06 15:48:55 $
+ * last change: $Author: ssa $ $Date: 2002-05-07 10:17:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -4896,7 +4896,8 @@ void ToolBox::KeyInput( const KeyEvent& rKEvt )
break;
default:
{
- DockingWindow::KeyInput( rKEvt );
+ // do nothing to avoid key presses going into the document
+ // while the toolbox has the focus
}
}