diff options
Diffstat (limited to 'sc/qa/extras/scdatapilotfieldgroupobj.cxx')
-rw-r--r-- | sc/qa/extras/scdatapilotfieldgroupobj.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/qa/extras/scdatapilotfieldgroupobj.cxx b/sc/qa/extras/scdatapilotfieldgroupobj.cxx index c2fd48e92d51..3268f4fe6f83 100644 --- a/sc/qa/extras/scdatapilotfieldgroupobj.cxx +++ b/sc/qa/extras/scdatapilotfieldgroupobj.cxx @@ -107,7 +107,7 @@ uno::Reference<uno::XInterface> ScDataPilotFieldGroupObj::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); @@ -141,9 +141,9 @@ uno::Reference<uno::XInterface> ScDataPilotFieldGroupObj::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); @@ -169,7 +169,7 @@ uno::Reference<uno::XInterface> ScDataPilotFieldGroupObj::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); @@ -184,7 +184,7 @@ uno::Reference<uno::XInterface> ScDataPilotFieldGroupObj::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) |