summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appopen.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 13:12:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 20:22:51 +0200
commit56a9a3a2d7f64c277b3dadd5a910a1183a47ac69 (patch)
treece7fda93df80dc857b67d12d4de6f263296b1492 /sfx2/source/appl/appopen.cxx
parent2a6f30194afb745df7412b95b53f8165b237da71 (diff)
loplugin:sequenceloop in sdext..sfx2
Change-Id: If9924566b21e50cad7a12d781ac5d337de0684ab Reviewed-on: https://gerrit.libreoffice.org/77526 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/appl/appopen.cxx')
-rw-r--r--sfx2/source/appl/appopen.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index 1c778623b51f..fde6a67522d3 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -866,7 +866,7 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
// get registered protocol handlers from configuration
Reference < XNameAccess > xAccess(officecfg::Office::ProtocolHandler::HandlerSet::get());
- Sequence < OUString > aNames = xAccess->getElementNames();
+ const Sequence < OUString > aNames = xAccess->getElementNames();
for ( const auto& rName : aNames )
{
Reference < XPropertySet > xSet;