[Libreoffice-commits] .: test/source

Markus Mohrhard mmohrhard at kemper.freedesktop.org
Sat Feb 18 16:42:39 PST 2012


 test/source/sheet/xdatapilottable2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cdf0c78990a149a5deab8f9e68512a8646ca1855
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Feb 19 01:07:56 2012 +0100

    fix copy&paste error

diff --git a/test/source/sheet/xdatapilottable2.cxx b/test/source/sheet/xdatapilottable2.cxx
index 0d93f3a..de1bb97 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)


More information about the Libreoffice-commits mailing list