summaryrefslogtreecommitdiff
path: root/include/test/xmltesttools.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 08:50:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 09:54:25 +0200
commit24eae7bd702f3f6dd790be7ac38ac16e9fe6a375 (patch)
tree56398264184709e84517c2e843aa3a0894cc1c51 /include/test/xmltesttools.hxx
parentfad919eb0d30b2303193e1c00ba765514957652c (diff)
clang-tidy performance-unnecessary-value-param
Change-Id: I69247498e13331f6ef84afeb242479f8fb1178a8 Reviewed-on: https://gerrit.libreoffice.org/60068 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/test/xmltesttools.hxx')
-rw-r--r--include/test/xmltesttools.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/test/xmltesttools.hxx b/include/test/xmltesttools.hxx
index eba5c84a0644..231a3e448fd6 100644
--- a/include/test/xmltesttools.hxx
+++ b/include/test/xmltesttools.hxx
@@ -65,7 +65,7 @@ protected:
const OString& rAttribute = OString(),
const OUString& rExpectedValue = OUString());
void assertXPathAttrs(xmlDocPtr pXmlDoc, const OString& rXPath,
- std::vector<std::pair<OString, OUString>> aPairVector);
+ const std::vector<std::pair<OString, OUString>>& aPairVector);
/**
* Assert that rXPath exists, and returns exactly nNumberOfNodes nodes.
* Useful for checking that we do _not_ export some node (nNumberOfNodes == 0).