summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/ftp/ftpurl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-20 15:54:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-20 18:39:11 +0200
commit1d4eb1be35cc393f98496883c2cb4ee89f4bcf0c (patch)
tree8b918663b9c37780d1fa42b8b1f35f363c7aa8d5 /ucb/source/ucp/ftp/ftpurl.cxx
parent50a6041bfac60ab03ec896bd638504524853300d (diff)
loplugin:constvars in test..unotools
Change-Id: I087dc53ca5c18893974bbd9d959de56d5a4cdfa0 Reviewed-on: https://gerrit.libreoffice.org/77827 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/ucp/ftp/ftpurl.cxx')
-rw-r--r--ucb/source/ucp/ftp/ftpurl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx
index 3d04a716a82c..2c5a8d5dc9ef 100644
--- a/ucb/source/ucp/ftp/ftpurl.cxx
+++ b/ucb/source/ucp/ftp/ftpurl.cxx
@@ -605,7 +605,7 @@ FTPDirentry FTPURL::direntry() const
std::vector<FTPDirentry> aList = aURL.list(OpenMode::ALL);
- for(FTPDirentry & d : aList) {
+ for(const FTPDirentry & d : aList) {
if(d.m_aName == nettitle) { // the relevant file is found
aDirentry = d;
break;