summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-06 19:00:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-08 08:31:45 +0200
commit40b1e5d40667e5863aa213a31fa1b06085bd407a (patch)
treef4e0fe96260e6bd52763af539729785853ba3734 /test
parent107af098311beafaadb343c5a3634389f56006a0 (diff)
loplugin:passstuffbyref
Change-Id: I6e6c47020073ec183c6c8ff9cd026a0bec23b177 Reviewed-on: https://gerrit.libreoffice.org/57088 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'test')
-rw-r--r--test/source/sheet/xdocumentauditing.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/source/sheet/xdocumentauditing.cxx b/test/source/sheet/xdocumentauditing.cxx
index 7b1565a62a43..42846b7f302c 100644
--- a/test/source/sheet/xdocumentauditing.cxx
+++ b/test/source/sheet/xdocumentauditing.cxx
@@ -57,8 +57,7 @@ void XDocumentAuditing::dispatch(const uno::Reference<frame::XFrame>& xFrame,
}
bool XDocumentAuditing::hasRightAmountOfShapes(const uno::Reference<drawing::XDrawPage>& xDrawPage,
- const sal_Int32& nElementCount,
- const sal_Int32& nShapes)
+ sal_Int32 nElementCount, sal_Int32 nShapes)
{
const sal_Int32 nCount = xDrawPage->getCount();
if (nCount != nElementCount + nShapes)