summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2003-06-12 07:01:53 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2003-06-12 07:01:53 +0000
commit6ed0102be1756450e6eb0ad2b4619a81b06a9398 (patch)
treeb17d459be1b7bc4183db2cd988de89dbb3b4c491 /accessibility
parent6e7e8e1409b34533ef7726ab0f3243d8babe98c5 (diff)
INTEGRATION: CWS uaa04 (1.3.12); FILE MERGED
2003/06/04 07:21:16 obr 1.3.12.2: finished transition from tabs to spaces 2003/06/02 12:49:57 obr 1.3.12.1: #109747# implement getAccessibleContext in a failsafe way, so that it can't kill the dispatch thread of the Java AccessBridge for Windows
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/ScrollBar.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/ScrollBar.java b/accessibility/bridge/org/openoffice/java/accessibility/ScrollBar.java
index c5aa1ce09bd7..28ecf6c0db81 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/ScrollBar.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/ScrollBar.java
@@ -79,12 +79,9 @@ public class ScrollBar extends Component implements SwingConstants, javax.access
super(xAccessible, xAccessibleContext);
}
- /** Returns the AccessibleContext associated with this object */
- public javax.accessibility.AccessibleContext getAccessibleContext() {
- if (accessibleContext == null) {
- accessibleContext = new AccessibleScrollBar();
- }
- return accessibleContext;
+ /** Creates the AccessibleContext associated with this object */
+ public javax.accessibility.AccessibleContext createAccessibleContext() {
+ return new AccessibleScrollBar();
}
protected class AccessibleScrollBar extends AccessibleUNOComponent implements