diff options
Diffstat (limited to 'sc/qa/extras/scindexenumeration_tablechartsenumeration.cxx')
-rw-r--r-- | sc/qa/extras/scindexenumeration_tablechartsenumeration.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/extras/scindexenumeration_tablechartsenumeration.cxx b/sc/qa/extras/scindexenumeration_tablechartsenumeration.cxx index 9f457ca34318..21bf34abc0ca 100644 --- a/sc/qa/extras/scindexenumeration_tablechartsenumeration.cxx +++ b/sc/qa/extras/scindexenumeration_tablechartsenumeration.cxx @@ -64,7 +64,7 @@ uno::Reference<uno::XInterface> ScIndexEnumeration_TableChartsEnumeration::init( 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); @@ -129,7 +129,7 @@ uno::Reference<uno::XInterface> ScIndexEnumeration_TableChartsEnumeration::init( uno::Reference<table::XCellRange> xCellRange0(xSheet0, uno::UNO_QUERY_THROW); uno::Reference<table::XCellRange> xCellRange1(xCellRange0->getCellRangeByName("A1:N4"), - uno::UNO_QUERY_THROW); + uno::UNO_SET_THROW); uno::Reference<sheet::XCellRangeAddressable> xCRA(xCellRange1, uno::UNO_QUERY_THROW); uno::Sequence<table::CellRangeAddress> aCRA(1); |