summaryrefslogtreecommitdiff
path: root/test/source/sheet/xdatapilotfield.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/sheet/xdatapilotfield.cxx')
-rw-r--r--test/source/sheet/xdatapilotfield.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/sheet/xdatapilotfield.cxx b/test/source/sheet/xdatapilotfield.cxx
index a2fbbca0d3d6..1c79e28a8eee 100644
--- a/test/source/sheet/xdatapilotfield.cxx
+++ b/test/source/sheet/xdatapilotfield.cxx
@@ -24,7 +24,7 @@ void XDataPilotField::testGetItems()
{
uno::Reference<sheet::XDataPilotField> xDPF(init(), UNO_QUERY_THROW);
- uno::Reference<container::XIndexAccess> xIA(xDPF->getItems(), UNO_QUERY_THROW);
+ uno::Reference<container::XIndexAccess> xIA(xDPF->getItems(), UNO_SET_THROW);
const sal_Int32 nCount = xIA->getCount();
CPPUNIT_ASSERT_MESSAGE("No items found", sal_Int32(0) != nCount);