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