summaryrefslogtreecommitdiff
path: root/accessibility/source/extended
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-07-19 06:24:23 +0000
committerOliver Bolte <obo@openoffice.org>2007-07-19 06:24:23 +0000
commitb1669209e70c73d2b29aa44434ce211ee85b41f3 (patch)
tree4bd71600b3d3ec316ebc65f9ab7d314c5d5e10c3 /accessibility/source/extended
parent2682f1fdba2452d387b584aaa67b28a017ee0389 (diff)
INTEGRATION: CWS tbe30 (1.2.2); FILE MERGED
2007/07/11 14:31:50 tbe 1.2.2.1: #130729# A11Y: GOK cannot reach the additional information text box in html export
Diffstat (limited to 'accessibility/source/extended')
-rw-r--r--accessibility/source/extended/textwindowaccessibility.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx
index 375fbb6f2ec0..9e9f7b7e4207 100644
--- a/accessibility/source/extended/textwindowaccessibility.cxx
+++ b/accessibility/source/extended/textwindowaccessibility.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: textwindowaccessibility.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 15:34:57 $
+ * last change: $Author: obo $ $Date: 2007-07-19 07:24:23 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -333,6 +333,11 @@ ParagraphImpl::getAccessibleAtPoint(::css::awt::Point const &)
void SAL_CALL ParagraphImpl::grabFocus() throw (::css::uno::RuntimeException)
{
checkDisposed();
+ Window* pWindow = m_xDocument->GetWindow();
+ if ( pWindow )
+ {
+ pWindow->GrabFocus();
+ }
try
{
m_xDocument->changeParagraphSelection(this, 0, 0);