summaryrefslogtreecommitdiff
path: root/test/source/sheet/xdatapilottable2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/sheet/xdatapilottable2.cxx')
-rw-r--r--test/source/sheet/xdatapilottable2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/sheet/xdatapilottable2.cxx b/test/source/sheet/xdatapilottable2.cxx
index 221d722373b1..7e4714db2378 100644
--- a/test/source/sheet/xdatapilottable2.cxx
+++ b/test/source/sheet/xdatapilottable2.cxx
@@ -215,7 +215,7 @@ void XDataPilotTable2::getOutputRanges( uno::Reference< sheet::XDataPilotTable2
void XDataPilotTable2::buildDataFields( uno::Reference< sheet::XDataPilotTable2 > const & xDPTable )
{
uno::Reference< sheet::XDataPilotDescriptor > xDesc(xDPTable, UNO_QUERY_THROW);
- uno::Reference< container::XIndexAccess > xIndex(xDesc->getDataPilotFields(), UNO_QUERY_THROW);
+ uno::Reference< container::XIndexAccess > xIndex(xDesc->getDataPilotFields(), UNO_SET_THROW);
sal_Int32 nFieldCount = xIndex->getCount();
for( sal_Int32 i = 0; i < nFieldCount; ++i)