summaryrefslogtreecommitdiff
path: root/test/source/sheet/xdatapilottable2.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-10-29 10:15:13 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2021-10-31 20:27:57 +0100
commiteafa99c6c4904bce9bf692eca97562af92cd633e (patch)
tree56f1f39d4d39a53df4cfdb35fe99bcab812b1db7 /test/source/sheet/xdatapilottable2.cxx
parentbc39f6b0e62b0a54500bf3986f971a43fe8f843d (diff)
Prepare for removal of non-const operator[] from Sequence in test
Change-Id: I9f2c0deda676b10377b0a4572d26422cb0d8b807 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124399 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
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 eccd132f6af7..2e802eeadbda 100644
--- a/test/source/sheet/xdatapilottable2.cxx
+++ b/test/source/sheet/xdatapilottable2.cxx
@@ -265,7 +265,7 @@ void XDataPilotTable2::checkDrillDownSheetContent(uno::Reference< sheet::XSpread
{
for(sal_Int32 y = 0; y < aSheetData[x].getLength(); ++y)
{
- Any& aCell1 = aSheetData[x][y];
+ const Any& aCell1 = aSheetData[x][y];
const Any& aCell2 = aData[x][y];
CPPUNIT_ASSERT_EQUAL(aCell2, aCell1);
}