diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-03-29 11:51:26 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-03-29 11:51:26 +0000 |
commit | 3fa3533aa278f9ae99bb4aa14a1daabf763eb586 (patch) | |
tree | e56188a127d00ffa4ab2f24ca82cb5b7754b9c50 /accessibility/bridge | |
parent | 51f3e72d2c9c1cea5d607e58cfd2a6b8df6a3111 (diff) |
INTEGRATION: CWS vcl37 (1.5.8); FILE MERGED
2005/03/04 15:30:43 obr 1.5.8.1: #i20314# don't return AccessibleText when disposed
Diffstat (limited to 'accessibility/bridge')
-rw-r--r-- | accessibility/bridge/org/openoffice/java/accessibility/Paragraph.java | 4 |
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, |