summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/List.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/List.java b/accessibility/bridge/org/openoffice/java/accessibility/List.java
index 4db7236f0469..0d1560101b1a 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/List.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/List.java
@@ -412,6 +412,10 @@ public class List extends DescendantManager implements javax.accessibility.Acces
/** Gets the AccessibleText associated with this object that has a graphical representation */
public javax.accessibility.AccessibleText getAccessibleText() {
+
+ if (disposed)
+ return null;
+
try {
XAccessibleText unoAccessibleText = (XAccessibleText)
UnoRuntime.queryInterface(XAccessibleText.class, unoAccessibleContext);