summaryrefslogtreecommitdiff
path: root/vcl/source/image
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-23 09:08:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-23 10:43:50 +0100
commitd010dd58e8afd7e135c7479dcabd6986eadb664f (patch)
tree7cace5b4bead0d676f0bc569e32f6902ecdf7f94 /vcl/source/image
parent8f7c35072a6bbb33f6582c8c9a37a275c8d3cb14 (diff)
loplugin:constparams in vcl
Change-Id: Icf1a952fbe190fd6c4efd89364136aa2b48050e3 Reviewed-on: https://gerrit.libreoffice.org/66767 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/image')
-rw-r--r--vcl/source/image/ImplImageTree.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/image/ImplImageTree.cxx b/vcl/source/image/ImplImageTree.cxx
index b6ea1196c054..ae8e29e353eb 100644
--- a/vcl/source/image/ImplImageTree.cxx
+++ b/vcl/source/image/ImplImageTree.cxx
@@ -485,7 +485,7 @@ void ImplImageTree::createStyle()
}
/// Find an icon cache for the right scale factor
-ImplImageTree::IconCache &ImplImageTree::getIconCache(ImageRequestParameters& rParameters)
+ImplImageTree::IconCache &ImplImageTree::getIconCache(const ImageRequestParameters& rParameters)
{
IconSet &rSet = getCurrentIconSet();
auto it = rSet.maScaledIconCaches.find(rParameters.mnScalePercentage);