summaryrefslogtreecommitdiff
path: root/include/test
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-01 10:09:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-01 12:30:55 +0200
commit871035d72aa0d59b42997056b16d889dd1371ce8 (patch)
tree3e4fc7b8ad2808bc0c7f258370d41d69f635b282 /include/test
parentd09b943fc4292d47a9d93f6e423cd0eafbd799ae (diff)
loplugin:constparams in various
Change-Id: Id15f3562f42afa6c679cea3c839172557ead0395 Reviewed-on: https://gerrit.libreoffice.org/40624 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/test')
-rw-r--r--include/test/container/xelementaccess.hxx2
-rw-r--r--include/test/screenshot_test.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/test/container/xelementaccess.hxx b/include/test/container/xelementaccess.hxx
index 14e7ad159621..d1830ef429ed 100644
--- a/include/test/container/xelementaccess.hxx
+++ b/include/test/container/xelementaccess.hxx
@@ -18,7 +18,7 @@ namespace apitest {
class XElementAccess
{
public:
- XElementAccess(css::uno::Type& rType): maType(rType) {}
+ XElementAccess(css::uno::Type const & rType): maType(rType) {}
void testGetElementType();
void testHasElements();
diff --git a/include/test/screenshot_test.hxx b/include/test/screenshot_test.hxx
index 5f8fbf89f022..c4ffa9a1ca17 100644
--- a/include/test/screenshot_test.hxx
+++ b/include/test/screenshot_test.hxx
@@ -36,7 +36,7 @@ private:
private:
/// helpers
void implSaveScreenshot(const Bitmap& rScreenshot, const OString& rScreenshotId);
- void saveScreenshot(VclAbstractDialog& rDialog);
+ void saveScreenshot(VclAbstractDialog const & rDialog);
void saveScreenshot(Dialog& rDialog);
/// helper method to populate maKnownDialogs, called in setUp(). Needs to be