summaryrefslogtreecommitdiff
path: root/sc/qa/extras/scdatapilotfieldobj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/extras/scdatapilotfieldobj.cxx')
-rw-r--r--sc/qa/extras/scdatapilotfieldobj.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/extras/scdatapilotfieldobj.cxx b/sc/qa/extras/scdatapilotfieldobj.cxx
index b6177bce9d10..89ad71daeb18 100644
--- a/sc/qa/extras/scdatapilotfieldobj.cxx
+++ b/sc/qa/extras/scdatapilotfieldobj.cxx
@@ -99,13 +99,13 @@ uno::Reference<uno::XInterface> ScDataPilotFieldObj::init()
uno::Reference<sheet::XSpreadsheet> xSheet(xIndex->getByIndex(1), uno::UNO_QUERY_THROW);
uno::Reference<sheet::XDataPilotTablesSupplier> xDPTS(xSheet, 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::Sequence<OUString> aElementNames = xDPT->getElementNames();
(void)aElementNames;
uno::Reference<sheet::XDataPilotDescriptor> xDPDsc(xDPT->getByName("DataPilot1"),
uno::UNO_QUERY_THROW);
- uno::Reference<container::XIndexAccess> xIA(xDPDsc->getDataPilotFields(), uno::UNO_QUERY_THROW);
+ uno::Reference<container::XIndexAccess> xIA(xDPDsc->getDataPilotFields(), uno::UNO_SET_THROW);
uno::Reference<uno::XInterface> xReturnValue(xIA->getByIndex(0), uno::UNO_QUERY_THROW);
return xReturnValue;
}