summaryrefslogtreecommitdiff
path: root/tools
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 /tools
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 'tools')
-rw-r--r--tools/source/fsys/urlobj.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx
index 34d761d11e66..5e200867a5cc 100644
--- a/tools/source/fsys/urlobj.cxx
+++ b/tools/source/fsys/urlobj.cxx
@@ -4006,7 +4006,7 @@ bool INetURLObject::isAnyKnownWebDAVScheme() const {
}
// static
-OUString INetURLObject::GetScheme(INetProtocol eTheScheme)
+const OUString & INetURLObject::GetScheme(INetProtocol eTheScheme)
{
return getSchemeInfo(eTheScheme).m_aPrefix;
}