diff options
Diffstat (limited to 'sc/qa/extras/scindexenumeration_textfieldenumeration.cxx')
-rw-r--r-- | sc/qa/extras/scindexenumeration_textfieldenumeration.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/qa/extras/scindexenumeration_textfieldenumeration.cxx b/sc/qa/extras/scindexenumeration_textfieldenumeration.cxx index 86233aee872a..6270ca089052 100644 --- a/sc/qa/extras/scindexenumeration_textfieldenumeration.cxx +++ b/sc/qa/extras/scindexenumeration_textfieldenumeration.cxx @@ -67,15 +67,15 @@ uno::Reference<uno::XInterface> ScIndexEnumeration_TextFieldEnumeration::init() uno::UNO_QUERY_THROW); uno::Reference<text::XTextContent> xTC(xTF, 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); uno::Reference<sheet::XSpreadsheet> xSheet0(xIA->getByIndex(0), uno::UNO_QUERY_THROW); - uno::Reference<table::XCell> xCell(xSheet0->getCellByPosition(2, 3), uno::UNO_QUERY_THROW); + uno::Reference<table::XCell> xCell(xSheet0->getCellByPosition(2, 3), uno::UNO_SET_THROW); uno::Reference<text::XText> xText(xCell, uno::UNO_QUERY_THROW); xText->insertTextContent(xText->createTextCursor(), xTC, true); uno::Reference<text::XTextFieldsSupplier> xTFS(xCell, uno::UNO_QUERY_THROW); - uno::Reference<container::XEnumerationAccess> xEA(xTFS->getTextFields(), uno::UNO_QUERY_THROW); + uno::Reference<container::XEnumerationAccess> xEA(xTFS->getTextFields(), uno::UNO_SET_THROW); return xEA->createEnumeration(); } |