summaryrefslogtreecommitdiff
path: root/vcl/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-19 10:50:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-19 10:50:07 +0200
commit90576b93244ea836714cb1b75dff16503a270772 (patch)
treeb2e8eab0e2d298a5aa0b2ebff48457c722035f04 /vcl/qa
parent454ab144c9f531a090a38ad23b5f50af85f1fbea (diff)
clang-tidy performance-unnecessary-value-param in vcl
Change-Id: I0b53c4bf5b4619cde357cf4eb432b153b1f7e6b5
Diffstat (limited to 'vcl/qa')
-rw-r--r--vcl/qa/cppunit/BitmapTest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/BitmapTest.cxx b/vcl/qa/cppunit/BitmapTest.cxx
index d2444b15abc8..6823cfb4e28d 100644
--- a/vcl/qa/cppunit/BitmapTest.cxx
+++ b/vcl/qa/cppunit/BitmapTest.cxx
@@ -165,12 +165,12 @@ void checkAndInsert(CRCHash &rHash, sal_uInt64 nCRC, const char *pLocation)
rHash[nCRC] = pLocation;
}
-void checkAndInsert(CRCHash &rHash, Bitmap rBmp, const char *pLocation)
+void checkAndInsert(CRCHash &rHash, Bitmap const & rBmp, const char *pLocation)
{
checkAndInsert(rHash, rBmp.GetChecksum(), pLocation);
}
-Bitmap getAsBitmap(VclPtr<OutputDevice> pOut)
+Bitmap getAsBitmap(VclPtr<OutputDevice> const & pOut)
{
return pOut->GetBitmap(Point(), pOut->GetOutputSizePixel());
}