summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-20 14:02:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-20 15:35:37 +0200
commit95dd183c41c52aa0ed9b5223ae7584f486103a78 (patch)
tree87b0221cf5ddfc69dc054820cac309e63230c2fb /stoc
parent8d54827762e2a6702a16b67724a6a5f393d72598 (diff)
loplugin:constvars in solenv..svtools
Change-Id: Ieb0116321bbddd804db6d1789ea3521c5b220840 Reviewed-on: https://gerrit.libreoffice.org/77807 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/uriproc/UriReferenceFactory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/uriproc/UriReferenceFactory.cxx b/stoc/source/uriproc/UriReferenceFactory.cxx
index d27d617074a3..779bb36b627b 100644
--- a/stoc/source/uriproc/UriReferenceFactory.cxx
+++ b/stoc/source/uriproc/UriReferenceFactory.cxx
@@ -417,7 +417,7 @@ css::uno::Reference< css::uri::XUriReference > Factory::makeAbsolute(
if (slash) {
abs.append('/');
}
- for (auto& i : segments)
+ for (const auto& i : segments)
{
if (i < -1) {
OUString segment(