summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLRedlineExport.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/text/XMLRedlineExport.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/text/XMLRedlineExport.cxx')
-rw-r--r--xmloff/source/text/XMLRedlineExport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/XMLRedlineExport.cxx b/xmloff/source/text/XMLRedlineExport.cxx
index e700de15670f..6ac62d6d6cb2 100644
--- a/xmloff/source/text/XMLRedlineExport.cxx
+++ b/xmloff/source/text/XMLRedlineExport.cxx
@@ -539,7 +539,7 @@ void XMLRedlineExport::ExportStartOrEndRedline(
bool bIsStart = true;
OUString sId;
bool bIdOK = false; // have we seen an ID?
- for(const auto& rValue : aValues)
+ for(const auto& rValue : std::as_const(aValues))
{
if (rValue.Name == "RedlineIdentifier")
{