summaryrefslogtreecommitdiffstats
path: root/sc/qa/extras/scannotationsobj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/extras/scannotationsobj.cxx')
-rw-r--r--sc/qa/extras/scannotationsobj.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/extras/scannotationsobj.cxx b/sc/qa/extras/scannotationsobj.cxx
index a10da1cabbd7..72fafc60ac74 100644
--- a/sc/qa/extras/scannotationsobj.cxx
+++ b/sc/qa/extras/scannotationsobj.cxx
@@ -89,7 +89,7 @@ uno::Reference< sheet::XSheetAnnotations> ScAnnontationsObj::getAnnotations(long
// get the annotations collection
uno::Reference< sheet::XSheetAnnotationsSupplier > xAnnotationSupplier(xSheet, UNO_QUERY_THROW);
- uno::Reference< sheet::XSheetAnnotations > xSheetAnnotations( xAnnotationSupplier->getAnnotations(), UNO_QUERY_THROW);
+ uno::Reference< sheet::XSheetAnnotations > xSheetAnnotations( xAnnotationSupplier->getAnnotations(), UNO_SET_THROW);
return xSheetAnnotations;
}