summaryrefslogtreecommitdiff
path: root/svtools/source/misc/imagemgr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-09-07 15:13:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-09-07 18:19:57 +0200
commitaf1e773c19db58de55939355bf0069e35d2a7789 (patch)
treead3b66951df8458a16c1fccb2254ca7556917f9e /svtools/source/misc/imagemgr.cxx
parentf446ebf4ad419c114cae903a04159ccf78755faa (diff)
loplugin:constantparam
Change-Id: I83722d99fa0d5919a7e878d32311dbb6de1c6714 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102175 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/misc/imagemgr.cxx')
-rw-r--r--svtools/source/misc/imagemgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/misc/imagemgr.cxx b/svtools/source/misc/imagemgr.cxx
index 7424791091e0..06fc2edfc253 100644
--- a/svtools/source/misc/imagemgr.cxx
+++ b/svtools/source/misc/imagemgr.cxx
@@ -715,7 +715,7 @@ static Image GetImageFromList_Impl( SvImageId nImageId, vcl::ImageType eImageTyp
{
OUString sImageName(GetImageNameFromList_Impl(nImageId, eImageType));
if (!sImageName.isEmpty())
- return Image(StockImage::Yes, sImageName, Size());
+ return Image(StockImage::Yes, sImageName);
return Image();
}