summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/bitmap.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-11 15:29:25 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-12 06:32:52 +0000
commit03fd8d24c2e4603731e796b24e51289736c65621 (patch)
treef88ec680e3339c6ae174cf4f85e6b4da9292cc92 /vcl/source/gdi/bitmap.cxx
parent0a8abaadf322dca5628c6e62eb18b19394995c40 (diff)
clang-tidy performance-unnecessary-value-param in vcl
Change-Id: I403f148060891feec56d7d2ef173a9c4934baf9e Reviewed-on: https://gerrit.libreoffice.org/23995 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/gdi/bitmap.cxx')
-rw-r--r--vcl/source/gdi/bitmap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/bitmap.cxx b/vcl/source/gdi/bitmap.cxx
index 03915ea757c2..e60d77c10acd 100644
--- a/vcl/source/gdi/bitmap.cxx
+++ b/vcl/source/gdi/bitmap.cxx
@@ -313,7 +313,7 @@ void Bitmap::ImplAssignWithSize( const Bitmap& rBitmap )
}
-void Bitmap::ImplSetImpBitmap(std::shared_ptr<ImpBitmap> xImpBmp)
+void Bitmap::ImplSetImpBitmap(const std::shared_ptr<ImpBitmap>& xImpBmp)
{
mxImpBmp = xImpBmp;
}