summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/eventuno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/eventuno.cxx')
-rw-r--r--sc/source/ui/unoobj/eventuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/eventuno.cxx b/sc/source/ui/unoobj/eventuno.cxx
index 6e4eccb52d84..3aab2004dd66 100644
--- a/sc/source/ui/unoobj/eventuno.cxx
+++ b/sc/source/ui/unoobj/eventuno.cxx
@@ -85,7 +85,7 @@ void SAL_CALL ScSheetEventsObj::replaceByName( const OUString& aName, const uno:
uno::Sequence<beans::PropertyValue> aPropSeq;
if ( aElement >>= aPropSeq )
{
- for (const beans::PropertyValue& rProp : aPropSeq)
+ for (const beans::PropertyValue& rProp : std::as_const(aPropSeq))
{
if ( rProp.Name == SC_UNO_EVENTTYPE )
{