summaryrefslogtreecommitdiff
path: root/svl/source/items/grabbagitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/grabbagitem.cxx')
-rw-r--r--svl/source/items/grabbagitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/grabbagitem.cxx b/svl/source/items/grabbagitem.cxx
index 191d7b35c74b..83c0323450ab 100644
--- a/svl/source/items/grabbagitem.cxx
+++ b/svl/source/items/grabbagitem.cxx
@@ -43,7 +43,7 @@ bool SfxGrabBagItem::PutValue(const uno::Any& rVal, sal_uInt8 /*nMemberId*/)
if (rVal >>= aValue)
{
m_aMap.clear();
- for (beans::PropertyValue const& aPropertyValue : aValue)
+ for (beans::PropertyValue const& aPropertyValue : std::as_const(aValue))
{
m_aMap[aPropertyValue.Name] = aPropertyValue.Value;
}