diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-05 11:19:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-07 17:20:09 +0100 |
commit | 5fdfc074c93447f9eb1c9a351ee4690126ba782c (patch) | |
tree | 76f5c4c3d4de02117fd8267cbdf06db3ae7fef27 /configmgr/source/node.hxx | |
parent | 0fe2b2545da977cd462c06e2a6ec6551b9903497 (diff) |
loplugin:passstuffbyref make some small improvements
Change-Id: Ib14a2e6b41165887fcf99c3d155850faa8564822
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176218
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'configmgr/source/node.hxx')
-rw-r--r-- | configmgr/source/node.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/node.hxx b/configmgr/source/node.hxx index cce8e3d4abb3..df5a127cdbb5 100644 --- a/configmgr/source/node.hxx +++ b/configmgr/source/node.hxx @@ -54,7 +54,7 @@ public: int getFinalized() const { return finalized_;} void setDescription(OUString const& description) { description_ = description; }; - OUString getDescription() { return description_; } + const OUString & getDescription() { return description_; } rtl::Reference< Node > getMember(OUString const & name); |