summaryrefslogtreecommitdiff
path: root/accessibility/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/bridge')
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/Paragraph.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Paragraph.java b/accessibility/bridge/org/openoffice/java/accessibility/Paragraph.java
index 0c62d23aec61..23f9b9803a37 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/Paragraph.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/Paragraph.java
@@ -162,6 +162,10 @@ public class Paragraph extends Container implements javax.accessibility.Accessib
/** Gets the AccessibleEditableText associated with this object presenting text on the display */
public javax.accessibility.AccessibleEditableText getAccessibleEditableText() {
+
+ if (disposed)
+ return null;
+
try {
XAccessibleEditableText unoAccessibleText = (XAccessibleEditableText)
UnoRuntime.queryInterface(XAccessibleEditableText.class,