summaryrefslogtreecommitdiff
path: root/test/source/sheet/xsheetannotationanchor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/sheet/xsheetannotationanchor.cxx')
-rw-r--r--test/source/sheet/xsheetannotationanchor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/sheet/xsheetannotationanchor.cxx b/test/source/sheet/xsheetannotationanchor.cxx
index cf0894a7e83d..540d1fca4741 100644
--- a/test/source/sheet/xsheetannotationanchor.cxx
+++ b/test/source/sheet/xsheetannotationanchor.cxx
@@ -25,7 +25,7 @@ namespace apitest
void XSheetAnnotationAnchor::testGetAnnotation()
{
uno::Reference<sheet::XSheetAnnotationAnchor> xAnchor(init(), UNO_QUERY_THROW);
- uno::Reference<sheet::XSheetAnnotation> xAnnotation(xAnchor->getAnnotation(), UNO_QUERY_THROW);
+ uno::Reference<sheet::XSheetAnnotation> xAnnotation(xAnchor->getAnnotation(), UNO_SET_THROW);
CPPUNIT_ASSERT_MESSAGE("Unable to get XSheetAnnotation", xAnnotation.is());
CPPUNIT_ASSERT_MESSAGE("Unable to check: getAuthor()", xAnnotation->getAuthor().isEmpty());