diff options
author | Andre Fischer <af@openoffice.org> | 2002-06-21 10:28:05 +0000 |
---|---|---|
committer | Andre Fischer <af@openoffice.org> | 2002-06-21 10:28:05 +0000 |
commit | a4a9e83b9899baf14592e8f5fa4969eaa43d4ca0 (patch) | |
tree | 8a53fbab1443306ecd5777d0c1d8f240aa051bc4 /toolkit/test | |
parent | 1b5a1d5393c079cb0f33b3f7f41656b8e0fa02f0 (diff) |
Adaption to changes in SimpleOffice.
Diffstat (limited to 'toolkit/test')
-rwxr-xr-x | toolkit/test/accessibility/AccessibilityWorkBench.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/toolkit/test/accessibility/AccessibilityWorkBench.java b/toolkit/test/accessibility/AccessibilityWorkBench.java index 1c187b46d136..ef7b451784ec 100755 --- a/toolkit/test/accessibility/AccessibilityWorkBench.java +++ b/toolkit/test/accessibility/AccessibilityWorkBench.java @@ -501,7 +501,8 @@ public class AccessibilityWorkBench { println (xModel.getURL()); XWindow xWindow = office.getCurrentWindow (xModel); - XAccessible xRoot = office.getAccessibleRoot (xWindow); + XAccessible xRoot = office.getAccessibleRoot ( + office.getAccessibleObject(xWindow)); // create document node aRoot.addChild ( @@ -513,6 +514,7 @@ public class AccessibilityWorkBench catch (Exception e) { System.out.println ("caught exception while getting document names: " + e); + e.printStackTrace(); } return aRoot; |