summaryrefslogtreecommitdiff
path: root/sc/qa/extras/scindexenumeration_datapilotitemsenumeration.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/extras/scindexenumeration_datapilotitemsenumeration.cxx')
-rw-r--r--sc/qa/extras/scindexenumeration_datapilotitemsenumeration.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/qa/extras/scindexenumeration_datapilotitemsenumeration.cxx b/sc/qa/extras/scindexenumeration_datapilotitemsenumeration.cxx
index eaa02fe2075b..f99e9d78ac89 100644
--- a/sc/qa/extras/scindexenumeration_datapilotitemsenumeration.cxx
+++ b/sc/qa/extras/scindexenumeration_datapilotitemsenumeration.cxx
@@ -69,7 +69,7 @@ uno::Reference<uno::XInterface> ScIndexEnumeration_DataPilotItemsEnumeration::in
uno::Reference<sheet::XSpreadsheetDocument> xDoc(m_xComponent, uno::UNO_QUERY_THROW);
CPPUNIT_ASSERT_MESSAGE("no 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);
xSheets->insertNewByName("Some Sheet", 0);
@@ -98,9 +98,9 @@ uno::Reference<uno::XInterface> ScIndexEnumeration_DataPilotItemsEnumeration::in
xSheet0->getCellByPosition(aCellAddress.Column, aCellAddress.Row + 3);
uno::Reference<sheet::XDataPilotTablesSupplier> xDPTS(xSheet0, uno::UNO_QUERY_THROW);
- uno::Reference<sheet::XDataPilotTables> xDPT(xDPTS->getDataPilotTables(), uno::UNO_QUERY_THROW);
+ uno::Reference<sheet::XDataPilotTables> xDPT(xDPTS->getDataPilotTables(), uno::UNO_SET_THROW);
uno::Reference<sheet::XDataPilotDescriptor> xDPD(xDPT->createDataPilotDescriptor(),
- uno::UNO_QUERY_THROW);
+ uno::UNO_SET_THROW);
xDPD->setSourceRange(aCellRangeAddress);