diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-12 15:52:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-13 09:22:40 +0200 |
commit | 54a97eb9ddd66294f303189ca12ef726177453cb (patch) | |
tree | fc068c028f44ef859021bf4b1a66daa29491a20d /include/vcl/toolkit | |
parent | 72f631977435a704008a55d3be6489ba619e3064 (diff) |
clang-tidy modernize-pass-by-value in vcl
Change-Id: I9ddb786eb88213c53cf53067ced6899ca40ac6e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137000
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/toolkit')
-rw-r--r-- | include/vcl/toolkit/ivctrl.hxx | 2 | ||||
-rw-r--r-- | include/vcl/toolkit/svlbitm.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/toolkit/ivctrl.hxx b/include/vcl/toolkit/ivctrl.hxx index 502d16d09917..ca96bc8e5718 100644 --- a/include/vcl/toolkit/ivctrl.hxx +++ b/include/vcl/toolkit/ivctrl.hxx @@ -108,7 +108,7 @@ class SvxIconChoiceCtrlEntry } public: - SvxIconChoiceCtrlEntry( const OUString& rText, const Image& rImage ); + SvxIconChoiceCtrlEntry( OUString aText, Image aImage ); const Image& GetImage () const { return aImage; } void SetText ( const OUString& rText ) { aText = rText; } diff --git a/include/vcl/toolkit/svlbitm.hxx b/include/vcl/toolkit/svlbitm.hxx index f02c4125a13b..2c7f092c08ec 100644 --- a/include/vcl/toolkit/svlbitm.hxx +++ b/include/vcl/toolkit/svlbitm.hxx @@ -112,7 +112,7 @@ protected: OUString maText; public: - SvLBoxString(const OUString& rText); + SvLBoxString(OUString aText); SvLBoxString(); virtual ~SvLBoxString() override; |