summaryrefslogtreecommitdiff
path: root/sc/qa/extras/scdatapilotfieldgroupsobj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/extras/scdatapilotfieldgroupsobj.cxx')
-rw-r--r--sc/qa/extras/scdatapilotfieldgroupsobj.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/qa/extras/scdatapilotfieldgroupsobj.cxx b/sc/qa/extras/scdatapilotfieldgroupsobj.cxx
index d42c096bbca7..8780b6df4dbe 100644
--- a/sc/qa/extras/scdatapilotfieldgroupsobj.cxx
+++ b/sc/qa/extras/scdatapilotfieldgroupsobj.cxx
@@ -112,7 +112,7 @@ uno::Reference<uno::XInterface> ScDataPilotFieldGroupsObj::init()
table::CellAddress aCellAddress(0, 7, 8);
uno::Reference<sheet::XSpreadsheetDocument> xDoc(m_xComponent, uno::UNO_QUERY_THROW);
- 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);
@@ -146,9 +146,9 @@ uno::Reference<uno::XInterface> ScDataPilotFieldGroupsObj::init()
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);
@@ -174,7 +174,7 @@ uno::Reference<uno::XInterface> ScDataPilotFieldGroupsObj::init()
uno::UNO_QUERY_THROW);
uno::Reference<sheet::XDataPilotDescriptor> xDPD0(xIA_DPT0->getByIndex(0),
uno::UNO_QUERY_THROW);
- uno::Reference<container::XIndexAccess> xIA_RF0(xDPD0->getRowFields(), uno::UNO_QUERY_THROW);
+ uno::Reference<container::XIndexAccess> xIA_RF0(xDPD0->getRowFields(), uno::UNO_SET_THROW);
uno::Reference<sheet::XDataPilotFieldGrouping> xDPFG(xIA_RF0->getByIndex(0),
uno::UNO_QUERY_THROW);
@@ -189,7 +189,7 @@ uno::Reference<uno::XInterface> ScDataPilotFieldGroupsObj::init()
uno::UNO_QUERY_THROW);
uno::Reference<sheet::XDataPilotDescriptor> xDPD1(xIA_DPT1->getByIndex(0),
uno::UNO_QUERY_THROW);
- uno::Reference<container::XIndexAccess> xIA_RF1(xDPD1->getRowFields(), uno::UNO_QUERY_THROW);
+ uno::Reference<container::XIndexAccess> xIA_RF1(xDPD1->getRowFields(), uno::UNO_SET_THROW);
sheet::DataPilotFieldGroupInfo aDPFGI;
for (auto i = 0; i < xIA_RF1->getCount(); ++i)