summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-05 10:56:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-05 10:56:37 +0100
commit561c48178c5ea544f4c1e845f77970d2830ed544 (patch)
tree84fa43365678c9867f4aac5eacb25663c8ee4aff /sw
parent07eb648d82a4a26b4b6c7fa78aa2d22ccbd0593d (diff)
Adapt JunitTest_sw_complex to 2bb87dd6596f8e961f5618d8e7686fa12c64e2cf
"fdo#39944: Add DOCUMENT_* accessibility UNO roles" Change-Id: I8b68ef756d054ee4e53941927108253d62e82672
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/complex/accessibility/AccessibleRelationSet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/complex/accessibility/AccessibleRelationSet.java b/sw/qa/complex/accessibility/AccessibleRelationSet.java
index d28470f0ff36..42ad00f5ff18 100644
--- a/sw/qa/complex/accessibility/AccessibleRelationSet.java
+++ b/sw/qa/complex/accessibility/AccessibleRelationSet.java
@@ -174,7 +174,7 @@ public class AccessibleRelationSet {
XWindow xWindow = AccessibilityTools.getCurrentWindow(factory, aModel);
XAccessible xRoot = AccessibilityTools.getAccessibleObject(xWindow);
- XAccessibleContext ctx = AccessibilityTools.getAccessibleObjectForRole(xRoot, AccessibleRole.DOCUMENT);
+ XAccessibleContext ctx = AccessibilityTools.getAccessibleObjectForRole(xRoot, AccessibleRole.DOCUMENT_TEXT);
para1 = ctx.getAccessibleChild(0);
para2 = ctx.getAccessibleChild(1);