summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2003-06-12 06:59:08 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2003-06-12 06:59:08 +0000
commit1835be83930256bb32e3c23205b3cfb7826f31b5 (patch)
treeaf8aad952e656d8fbc75f2e1d99758011798f804 /accessibility
parenta861b6a5af3765a4f8507c7d3c3b7c32497b3b90 (diff)
INTEGRATION: CWS uaa04 (1.3.12); FILE MERGED
2003/06/04 07:21:07 obr 1.3.12.2: finished transition from tabs to spaces 2003/06/02 12:49:53 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/CheckBox.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/CheckBox.java b/accessibility/bridge/org/openoffice/java/accessibility/CheckBox.java
index 959d7b1d3bc4..3c9803cdff47 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/CheckBox.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/CheckBox.java
@@ -66,12 +66,9 @@ class CheckBox extends ToggleButton {
super(xAccessible, xAccessibleContext);
}
- /** Returns the AccessibleContext associated with this object */
- public javax.accessibility.AccessibleContext getAccessibleContext() {
- if (accessibleContext == null) {
- accessibleContext = new AccessibleCheckBox();
- }
- return accessibleContext;
+ /** Creates the AccessibleContext associated with this object */
+ public javax.accessibility.AccessibleContext createAccessibleContext() {
+ return new AccessibleCheckBox();
}
protected class AccessibleCheckBox extends AccessibleToggleButton {