summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorAndre Fischer <af@openoffice.org>2002-10-18 06:58:49 +0000
committerAndre Fischer <af@openoffice.org>2002-10-18 06:58:49 +0000
commit397d4b7d3c3cf73cdb23dbe168e0f84a6f584d58 (patch)
tree30aa991455bed62608ef2ab3341cfdc997e660aa /svx/source
parent2cef5dea6513e26fbb7b1b5e1c7261b8ffcaf5b8 (diff)
#104137# Docking window grabs focus to color value set on GetFocus().
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/tbxctrls/colrctrl.cxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/colrctrl.cxx b/svx/source/tbxctrls/colrctrl.cxx
index ab2769fc217c..261bc9ab79bb 100644
--- a/svx/source/tbxctrls/colrctrl.cxx
+++ b/svx/source/tbxctrls/colrctrl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: colrctrl.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: cl $ $Date: 2001-07-26 09:15:45 $
+ * last change: $Author: af $ $Date: 2002-10-18 07:58:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -655,3 +655,12 @@ void SvxColorDockingWindow::Resize()
SfxDockingWindow::Resize();
}
+
+
+void SvxColorDockingWindow::GetFocus (void)
+{
+ SfxDockingWindow::GetFocus();
+ // Grab the focus to the color value set so that it can be controlled
+ // with the keyboard.
+ aColorSet.GrabFocus();
+}