summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);