summaryrefslogtreecommitdiff
path: root/include/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2021-12-01 09:46:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-12-01 12:12:57 +0100
commitfabce43fe1caf3a59a7d9dc1074a74b704f9fa24 (patch)
tree1b97d8fd9fe109a5f7641d00f54ef9400ffc394c /include/comphelper
parente01854cd8f0c20c57d7e78103834bd806ead3cd9 (diff)
fix thinko in OMultiTypeInterfaceContainerHelperVar2 change
in commit d8a526eabe3a7256c1637307e8de74c54e5df4eb Author: Noel Grandin <noelgrandin@gmail.com> Date: Tue Nov 30 21:36:08 2021 +0200 improve OMultiTypeInterfaceContainerHelperVar2::disposeAndClear spotted by sberg Change-Id: I45316c29d82c5ece4c0ff9faa40f656b5aab3c0f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126166 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/multiinterfacecontainer2.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/comphelper/multiinterfacecontainer2.hxx b/include/comphelper/multiinterfacecontainer2.hxx
index b9eea1bd86dc..0c3e7f690d16 100644
--- a/include/comphelper/multiinterfacecontainer2.hxx
+++ b/include/comphelper/multiinterfacecontainer2.hxx
@@ -177,7 +177,7 @@ public:
tempMap = std::move(m_aMap);
}
- for (auto& rPair : m_aMap)
+ for (auto& rPair : tempMap)
rPair.second->disposeAndClear(rEvt);
}