summaryrefslogtreecommitdiff
path: root/sc/source/ui/Accessibility/AccessibleContextBase.cxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2002-08-16 11:04:24 +0000
committerSascha Ballach <sab@openoffice.org>2002-08-16 11:04:24 +0000
commitfee230e0c9e8f001e033e6f2fd964ad4dcc202bd (patch)
treec531f7765342c89064e9946a68ebcf1eb75ec866 /sc/source/ui/Accessibility/AccessibleContextBase.cxx
parente55431992376a25affaa96996e2dfe779e8f24be (diff)
#102392#; send focus events to a global queue
Diffstat (limited to 'sc/source/ui/Accessibility/AccessibleContextBase.cxx')
-rw-r--r--sc/source/ui/Accessibility/AccessibleContextBase.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleContextBase.cxx b/sc/source/ui/Accessibility/AccessibleContextBase.cxx
index 49080d555900..15ab5cd4e46f 100644
--- a/sc/source/ui/Accessibility/AccessibleContextBase.cxx
+++ b/sc/source/ui/Accessibility/AccessibleContextBase.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: AccessibleContextBase.cxx,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: sab $ $Date: 2002-08-06 11:07:24 $
+ * last change: $Author: sab $ $Date: 2002-08-16 12:04:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -105,6 +105,9 @@
#ifndef _UTL_ACCESSIBLERELATIONSETHELPER_HXX_
#include <unotools/accessiblerelationsethelper.hxx>
#endif
+#ifndef _VCL_UNOHELP_HXX
+#include <vcl/unohelp.hxx>
+#endif
using namespace ::rtl;
using namespace ::com::sun::star;
@@ -664,6 +667,8 @@ void ScAccessibleContextBase::CommitFocusGained() const
aEvent.NewValue <<= AccessibleStateType::FOCUSED;
CommitChange(aEvent);
+
+ ::vcl::unohelper::NotifyAccessibleStateEventGlobally(aEvent);
}
void ScAccessibleContextBase::CommitFocusLost() const
@@ -674,6 +679,8 @@ void ScAccessibleContextBase::CommitFocusLost() const
aEvent.OldValue <<= AccessibleStateType::FOCUSED;
CommitChange(aEvent);
+
+ vcl::unohelper::NotifyAccessibleStateEventGlobally(aEvent);
}
Rectangle ScAccessibleContextBase::GetBoundingBoxOnScreen(void) const