summaryrefslogtreecommitdiff
path: root/sot/source/unoolestorage
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 13:35:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 20:51:38 +0200
commit8e0918a04ee6797909264943eba23707b224c34c (patch)
tree5690f8fbe14092816805ac80d60b7d77a19d0998 /sot/source/unoolestorage
parent39921c1657d0d131ab7ed6c5490052f53bb764cb (diff)
loplugin:sequenceloop in shell..sot
Change-Id: I40e2a1be0ce7df627d3820192d24821ddd7c3e2f Reviewed-on: https://gerrit.libreoffice.org/77527 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sot/source/unoolestorage')
-rw-r--r--sot/source/unoolestorage/xolesimplestorage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx
index 82d7f8bbb7a5..5a7f561b0a22 100644
--- a/sot/source/unoolestorage/xolesimplestorage.cxx
+++ b/sot/source/unoolestorage/xolesimplestorage.cxx
@@ -236,7 +236,7 @@ void OLESimpleStorage::InsertNameAccessToStorage_Impl( BaseStorage* pStorage, co
try
{
- uno::Sequence< OUString > aElements = xNameAccess->getElementNames();
+ const uno::Sequence< OUString > aElements = xNameAccess->getElementNames();
for ( const auto& rElement : aElements )
{
uno::Reference< io::XInputStream > xInputStream;