summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-03 09:52:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-06 07:13:42 +0100
commit0d50804e1c0c0ea2a5cd73fa3fa2a9ff0a0e7048 (patch)
treeab861bba797a4610ffd5b482cc8fa4c4d5b59c35 /test
parent26e8b589b3f7716a80df7f3a9273e4967d9b0991 (diff)
loplugin:constparams in various(2)
Change-Id: I533a7eb724b15e168a28dc92cd5962a39bc96e7c Reviewed-on: https://gerrit.libreoffice.org/44313 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'test')
-rw-r--r--test/source/htmltesttools.cxx2
-rw-r--r--test/source/xmltesttools.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/source/htmltesttools.cxx b/test/source/htmltesttools.cxx
index 4f28b1511791..cf4c25cf808a 100644
--- a/test/source/htmltesttools.cxx
+++ b/test/source/htmltesttools.cxx
@@ -11,7 +11,7 @@
#include <memory>
-htmlDocPtr HtmlTestTools::parseHtml(utl::TempFile& aTempFile)
+htmlDocPtr HtmlTestTools::parseHtml(utl::TempFile const & aTempFile)
{
SvFileStream aFileStream(aTempFile.GetURL(), StreamMode::READ);
htmlDocPtr doc = parseHtmlStream(&aFileStream);
diff --git a/test/source/xmltesttools.cxx b/test/source/xmltesttools.cxx
index 659af490f053..bcdf93e1ae0b 100644
--- a/test/source/xmltesttools.cxx
+++ b/test/source/xmltesttools.cxx
@@ -34,7 +34,7 @@ XmlTestTools::XmlTestTools()
XmlTestTools::~XmlTestTools()
{}
-xmlDocPtr XmlTestTools::parseXml(utl::TempFile& aTempFile)
+xmlDocPtr XmlTestTools::parseXml(utl::TempFile const & aTempFile)
{
SvFileStream aFileStream(aTempFile.GetURL(), StreamMode::READ);
return parseXmlStream(&aFileStream);