summaryrefslogtreecommitdiff
path: root/include/vcl/image.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-11-05 14:08:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-11-06 12:34:18 +0100
commit2e60bca0b830edf791b73b71cf3c23ac0367d5b0 (patch)
treec58cbbf858d151a35d39764b7c83ffc1baacec43 /include/vcl/image.hxx
parentbb51c57fd515bd2b2a9d97aa9a371901a3af8092 (diff)
loplugin:passstuffbyref in vcl
Change-Id: Id152f7321bb81ecb17b31775277d1466ccd91ab4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176108 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
Diffstat (limited to 'include/vcl/image.hxx')
-rw-r--r--include/vcl/image.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/image.hxx b/include/vcl/image.hxx
index 6c130bf4cd2b..f7184820fc8e 100644
--- a/include/vcl/image.hxx
+++ b/include/vcl/image.hxx
@@ -59,7 +59,7 @@ public:
return !(Image::operator==(rImage));
}
- OUString GetStock() const;
+ const OUString & GetStock() const;
void Draw(OutputDevice* pOutDev, const Point& rPos, DrawImageFlags nStyle, const Size* pSize = nullptr);