summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 0d93f3a55f43..de1bb978ea29 100644
--- a/test/source/sheet/xdatapilottable2.cxx
+++ b/test/source/sheet/xdatapilottable2.cxx
@@ -275,7 +275,7 @@ bool XDataPilotTable2::checkDrillDownSheetContent(uno::Reference< sheet::XSpread
CPPUNIT_ASSERT_EQUAL(aData[0].getLength(), aLastCell.Column + 1);
uno::Reference< table::XCellRange > xCellRange = xSheet->getCellRangeByPosition(0, 0, aLastCell.Column, aLastCell.Row);
- uno::Reference< sheet::XCellRangeData > xCellRangeData(xCellRangeData, UNO_QUERY_THROW);
+ uno::Reference< sheet::XCellRangeData > xCellRangeData(xCellRange, UNO_QUERY_THROW);
uno::Sequence< uno::Sequence< Any > > aSheetData = xCellRangeData->getDataArray();
for (sal_Int32 x = 0; x < aSheetData.getLength(); ++x)