diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-07-05 12:08:30 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-07-05 12:08:30 +0000 |
commit | 6c14d7c31b293767adadda4d5ffc594228881938 (patch) | |
tree | fec8855459df81dd7e588e9d38c05a5f4c947034 /starmath | |
parent | e4d53085cdee58787c6ba5293a305bbd0f326340 (diff) |
INTEGRATION: CWS tl39 (1.47.6); FILE MERGED
2007/05/24 09:36:27 tl 1.47.6.1: #i77056# initial focus problem fixed
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/view.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 40482b1dc5a5..def9b1bccb5f 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -4,9 +4,9 @@ * * $RCSfile: view.cxx,v $ * - * $Revision: 1.48 $ + * $Revision: 1.49 $ * - * last change: $Author: vg $ $Date: 2007-05-25 12:16:41 $ + * last change: $Author: rt $ $Date: 2007-07-05 13:08:30 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -304,7 +304,10 @@ void SmGraphicWindow::MouseButtonDown(const MouseEvent& rMEvt) void SmGraphicWindow::GetFocus() { - ScrollableWindow::GetFocus(); + SmEditWindow *pEditWin = pViewShell ? pViewShell->GetEditWindow() : 0; + if (pEditWin) + pEditWin->GrabFocus(); +/* if (xAccessible.is()) { uno::Any aOldValue, aNewValue; @@ -313,6 +316,7 @@ void SmGraphicWindow::GetFocus() pAccessible->LaunchEvent( AccessibleEventId::STATE_CHANGED, aOldValue, aNewValue ); } +*/ } void SmGraphicWindow::LoseFocus() |