include/comphelper/multiinterfacecontainer2.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fabce43fe1caf3a59a7d9dc1074a74b704f9fa24
Author:     Noel Grandin <n...@peralex.com>
AuthorDate: Wed Dec 1 09:46:01 2021 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Wed Dec 1 12:12:57 2021 +0100

    fix thinko in OMultiTypeInterfaceContainerHelperVar2 change
    
    in
        commit d8a526eabe3a7256c1637307e8de74c54e5df4eb
        Author: Noel Grandin <noelgran...@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.gran...@collabora.co.uk>

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);
     }
 

Reply via email to