diff options
Diffstat (limited to 'sc/qa/extras/scindexenumeration_spreadsheetsenumeration.cxx')
-rw-r--r-- | sc/qa/extras/scindexenumeration_spreadsheetsenumeration.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/extras/scindexenumeration_spreadsheetsenumeration.cxx b/sc/qa/extras/scindexenumeration_spreadsheetsenumeration.cxx index 981c17615935..5561f4fda40a 100644 --- a/sc/qa/extras/scindexenumeration_spreadsheetsenumeration.cxx +++ b/sc/qa/extras/scindexenumeration_spreadsheetsenumeration.cxx @@ -55,7 +55,7 @@ uno::Reference<uno::XInterface> ScIndexEnumeration_SpreadsheetsEnumeration::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::XEnumerationAccess> xEA(xSheets, uno::UNO_QUERY_THROW); return xEA->createEnumeration(); |