summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-11-05 13:34:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-11-06 09:25:37 +0100
commit54a91f287ff75d2f66e547181961f7b25728a9b9 (patch)
tree440db6b48e20307b1d71cae40ca22f5581b4cae2 /include
parent69f4abaffd92233ccb32a01f1c297036a792b274 (diff)
loplugin:passstuffbyref in tools
Change-Id: Id902f711d14eb21dc14366e8fe8fc5a96c0afec4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176055 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/tools/urlobj.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx
index 96f21676d51b..33af8104dc0f 100644
--- a/include/tools/urlobj.hxx
+++ b/include/tools/urlobj.hxx
@@ -396,7 +396,7 @@ public:
@return The 'prefix' of URLs of the given scheme.
*/
- static OUString GetScheme(INetProtocol eTheScheme);
+ static const OUString & GetScheme(INetProtocol eTheScheme);
/** Return the human-readable name for a given scheme.