diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-19 15:11:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-19 19:28:11 +0200 |
commit | 8efd46ed867b66f9fbc31dbaa1d46bc91ea29ae2 (patch) | |
tree | eafc8ade307c5fe797fdddddfa6d9dc39c935b8a /cppuhelper | |
parent | 9c10e29287740f473fa4f33ac6188b8c8543bfbb (diff) |
loplugin:constvars in cppuhelper..desktop
Change-Id: Iaf42114ab98875c4bc1545684f1893540b998ef2
Reviewed-on: https://gerrit.libreoffice.org/77723
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/propertysetmixin.cxx | 4 |
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) { |