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