summaryrefslogtreecommitdiff
path: root/sc/qa/extras/scindexenumeration_sheetcellrangesenumeration.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/extras/scindexenumeration_sheetcellrangesenumeration.cxx')
-rw-r--r--sc/qa/extras/scindexenumeration_sheetcellrangesenumeration.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/extras/scindexenumeration_sheetcellrangesenumeration.cxx b/sc/qa/extras/scindexenumeration_sheetcellrangesenumeration.cxx
index 5080f50f6fa2..bbd80a38216b 100644
--- a/sc/qa/extras/scindexenumeration_sheetcellrangesenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_sheetcellrangesenumeration.cxx
@@ -61,7 +61,7 @@ uno::Reference<uno::XInterface> ScIndexEnumeration_SheetCellRangesEnumeration::i
uno::Reference<sheet::XSpreadsheetDocument> xDoc(m_xComponent, uno::UNO_QUERY_THROW);
CPPUNIT_ASSERT_MESSAGE("no calc document", xDoc.is());
- uno::Reference<sheet::XSpreadsheets> xSheets(xDoc->getSheets(), uno::UNO_QUERY_THROW);
+ uno::Reference<sheet::XSpreadsheets> xSheets(xDoc->getSheets(), uno::UNO_SET_THROW);
uno::Reference<container::XIndexAccess> xIA(xSheets, uno::UNO_QUERY_THROW);
uno::Reference<sheet::XSpreadsheet> xSheet0(xIA->getByIndex(0), uno::UNO_QUERY_THROW);