summaryrefslogtreecommitdiff
path: root/xmloff/source/script/XMLEventExport.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 20:26:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-16 08:11:34 +0200
commit50679d449fa71bebdc3cba1d30c6c81ac846990c (patch)
treef903dc5160a9953cd9211efe44261ba7cd77b520 /xmloff/source/script/XMLEventExport.cxx
parenta0073744aac89648e89506b79e227b17dacf58d0 (diff)
loplugin:sequenceloop in xmloff
Change-Id: I1fde11da5f6e97255a9140f11c298d6d525f7230 Reviewed-on: https://gerrit.libreoffice.org/77543 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/script/XMLEventExport.cxx')
-rw-r--r--xmloff/source/script/XMLEventExport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/script/XMLEventExport.cxx b/xmloff/source/script/XMLEventExport.cxx
index 02e720b643db..882b4ae3bf76 100644
--- a/xmloff/source/script/XMLEventExport.cxx
+++ b/xmloff/source/script/XMLEventExport.cxx
@@ -110,7 +110,7 @@ void XMLEventExport::Export( Reference<XNameAccess> const & rAccess,
bool bStarted = false;
// iterate over all event types
- Sequence<OUString> aNames = rAccess->getElementNames();
+ const Sequence<OUString> aNames = rAccess->getElementNames();
for(const auto& rName : aNames)
{
// translate name