summaryrefslogtreecommitdiff
path: root/xmloff/source/forms/elementexport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/forms/elementexport.cxx')
-rw-r--r--xmloff/source/forms/elementexport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx
index 9f92db511cd9..13ebf89709c5 100644
--- a/xmloff/source/forms/elementexport.cxx
+++ b/xmloff/source/forms/elementexport.cxx
@@ -400,7 +400,7 @@ namespace xmloff
Sequence< OUString > aListItems;
m_xProps->getPropertyValue(PROPERTY_STRING_ITEM_LIST) >>= aListItems;
// loop through it and write the sub elements
- for (const auto& rListItem : aListItems)
+ for (const auto& rListItem : std::as_const(aListItems))
{
m_rContext.getGlobalContext().ClearAttrList();
AddAttribute(
@@ -1260,7 +1260,7 @@ namespace xmloff
DBG_CHECK_PROPERTY(_rPropertyName, Sequence< sal_Int16 >);
m_xProps->getPropertyValue(_rPropertyName) >>= aValueSequence;
- for (const auto& rValue : aValueSequence)
+ for (const auto& rValue : std::as_const(aValueSequence))
_rOut.insert(rValue);
}