summaryrefslogtreecommitdiff
path: root/include/vcl/listctrl.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 08:50:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 09:54:25 +0200
commit24eae7bd702f3f6dd790be7ac38ac16e9fe6a375 (patch)
tree56398264184709e84517c2e843aa3a0894cc1c51 /include/vcl/listctrl.hxx
parentfad919eb0d30b2303193e1c00ba765514957652c (diff)
clang-tidy performance-unnecessary-value-param
Change-Id: I69247498e13331f6ef84afeb242479f8fb1178a8 Reviewed-on: https://gerrit.libreoffice.org/60068 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/listctrl.hxx')
-rw-r--r--include/vcl/listctrl.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/listctrl.hxx b/include/vcl/listctrl.hxx
index d640ad2c7ee6..aa825f205b47 100644
--- a/include/vcl/listctrl.hxx
+++ b/include/vcl/listctrl.hxx
@@ -43,7 +43,8 @@ public:
virtual ~ListControl() override;
virtual void dispose() override;
- void addEntry(VclPtr<vcl::Window> xEntry, sal_uInt32 nPos = std::numeric_limits<sal_uInt16>::max());
+ void addEntry(const VclPtr<vcl::Window>& xEntry,
+ sal_uInt32 nPos = std::numeric_limits<sal_uInt16>::max());
std::vector<VclPtr<vcl::Window>> const & getEntries() const;
void deleteEntry(sal_uInt32 nPos);