summaryrefslogtreecommitdiff
path: root/cppuhelper/source/propertysetmixin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/propertysetmixin.cxx')
-rw-r--r--cppuhelper/source/propertysetmixin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/source/propertysetmixin.cxx b/cppuhelper/source/propertysetmixin.cxx
index 7201d49def1a..a37185e76686 100644
--- a/cppuhelper/source/propertysetmixin.cxx
+++ b/cppuhelper/source/propertysetmixin.cxx
@@ -928,14 +928,14 @@ void PropertySetMixinImpl::dispose() {
}
css::lang::EventObject event(
static_cast< css::beans::XPropertySet * >(this));
- for (auto& rEntry : boundListeners)
+ for (const auto& rEntry : boundListeners)
{
for (auto& rxBoundListener : rEntry.second)
{
rxBoundListener->disposing(event);
}
}
- for (auto& rEntry : vetoListeners)
+ for (const auto& rEntry : vetoListeners)
{
for (auto& rxVetoListener : rEntry.second)
{