diff options
Diffstat (limited to 'sc/qa/extras/scdatapilotfieldgroupitemobj.cxx')
-rw-r--r-- | sc/qa/extras/scdatapilotfieldgroupitemobj.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/qa/extras/scdatapilotfieldgroupitemobj.cxx b/sc/qa/extras/scdatapilotfieldgroupitemobj.cxx index 3e397dba5588..37f0fa8db619 100644 --- a/sc/qa/extras/scdatapilotfieldgroupitemobj.cxx +++ b/sc/qa/extras/scdatapilotfieldgroupitemobj.cxx @@ -82,7 +82,7 @@ uno::Reference<uno::XInterface> ScDataPilotFieldGroupItemObj::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); @@ -116,9 +116,9 @@ uno::Reference<uno::XInterface> ScDataPilotFieldGroupItemObj::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); @@ -144,7 +144,7 @@ uno::Reference<uno::XInterface> ScDataPilotFieldGroupItemObj::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); @@ -159,7 +159,7 @@ uno::Reference<uno::XInterface> ScDataPilotFieldGroupItemObj::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) |