summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-02-06 12:11:27 +0000
committerKurt Zenker <kz@openoffice.org>2006-02-06 12:11:27 +0000
commitf9b1bb8e896d6672e04f5afc30d855cfc38e949a (patch)
treeb336d078f2891e7b582a39ebaf194864df9c7351 /accessibility
parent6809665e47f0e983bbff14cef4d57c6f0c3fe71a (diff)
INTEGRATION: CWS pb11 (1.10.10); FILE MERGED
2005/12/21 07:56:46 obr 1.10.10.1: #i48638# only expose AccessibleTable for UNO objects that implement XAccessibleTable
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/Tree.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Tree.java b/accessibility/bridge/org/openoffice/java/accessibility/Tree.java
index 2773ef94efb6..bf8a89f16142 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/Tree.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/Tree.java
@@ -4,9 +4,9 @@
*
* $RCSfile: Tree.java,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 15:43:12 $
+ * last change: $Author: kz $ $Date: 2006-02-06 13:11:27 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -157,7 +157,7 @@ public class Tree extends DescendantManager implements javax.accessibility.Acces
/** Returns the AccessibleTable interface of this object */
public javax.accessibility.AccessibleTable getAccessibleTable() {
- return this;
+ return ( unoAccessibleTable != null ) ? this : null;
}
/** Returns the specified Accessible child of the object */