summaryrefslogtreecommitdiff
path: root/test/source/sheet/xdatapilotdescriptor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/sheet/xdatapilotdescriptor.cxx')
-rw-r--r--test/source/sheet/xdatapilotdescriptor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/source/sheet/xdatapilotdescriptor.cxx b/test/source/sheet/xdatapilotdescriptor.cxx
index d8f409f63205..7fd5b4f772ae 100644
--- a/test/source/sheet/xdatapilotdescriptor.cxx
+++ b/test/source/sheet/xdatapilotdescriptor.cxx
@@ -67,7 +67,7 @@ void XDataPilotDescriptor::testGetFilterDescriptor()
CPPUNIT_ASSERT(xSheetFilterDescr.is());
}
-void XDataPilotDescriptor::testGetDataPilotFields_Impl( uno::Reference< sheet::XDataPilotDescriptor > xDescr)
+void XDataPilotDescriptor::testGetDataPilotFields_Impl( uno::Reference< sheet::XDataPilotDescriptor > const & xDescr)
{
//this method should only be called once but needs to be called before any of the other tests
static bool bCalled = false;
@@ -185,7 +185,7 @@ void XDataPilotDescriptor::testGetHiddenFields()
checkName( xIndex, 3 );
}
-void XDataPilotDescriptor::checkName( uno::Reference< container::XIndexAccess > xIndex, sal_Int32 nIndex )
+void XDataPilotDescriptor::checkName( uno::Reference< container::XIndexAccess > const & xIndex, sal_Int32 nIndex )
{
CPPUNIT_ASSERT(xIndex.is());
CPPUNIT_ASSERT(maFieldNames.size() >= static_cast<size_t>(nIndex));