summaryrefslogtreecommitdiff
path: root/test/source/view/xcontrolaccess.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/view/xcontrolaccess.cxx')
-rw-r--r--test/source/view/xcontrolaccess.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/source/view/xcontrolaccess.cxx b/test/source/view/xcontrolaccess.cxx
index 2c24d85328c8..8ebf781a9732 100644
--- a/test/source/view/xcontrolaccess.cxx
+++ b/test/source/view/xcontrolaccess.cxx
@@ -46,8 +46,8 @@ void XControlAccess::testGetControl()
xShapes->add(xShape);
uno::Reference<drawing::XControlShape> xCS(xShape, uno::UNO_QUERY_THROW);
- uno::Reference<awt::XControlModel> xCM(xCS->getControl(), uno::UNO_QUERY_THROW);
- uno::Reference<awt::XControl> xControl(xCA->getControl(xCM), uno::UNO_QUERY_THROW);
+ uno::Reference<awt::XControlModel> xCM(xCS->getControl(), uno::UNO_SET_THROW);
+ uno::Reference<awt::XControl> xControl(xCA->getControl(xCM), uno::UNO_SET_THROW);
CPPUNIT_ASSERT(xControl.is());
}