diff options
Diffstat (limited to 'sw/qa/extras/accessibility')
-rw-r--r-- | sw/qa/extras/accessibility/accessible_relation_set.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/accessibility/accessible_relation_set.cxx b/sw/qa/extras/accessibility/accessible_relation_set.cxx index 4808c6a9b20e..b544096a37f1 100644 --- a/sw/qa/extras/accessibility/accessible_relation_set.cxx +++ b/sw/qa/extras/accessibility/accessible_relation_set.cxx @@ -107,7 +107,7 @@ AccessibleRelationSet::init(uno::Reference<css::accessibility::XAccessible>& par = loadFromDesktop("private:factory/swriter", "com.sun.star.text.TextDocument"); uno::Reference<text::XTextDocument> xTextDoc(xComponent, uno::UNO_QUERY); - css::uno::Reference<text::XText> oText(xTextDoc->getText(), uno::UNO_QUERY_THROW); + css::uno::Reference<text::XText> oText(xTextDoc->getText(), uno::UNO_SET_THROW); css::uno::Reference<text::XTextCursor> oCursor = oText->createTextCursor(); |