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

New commits:
commit f0c0c62c10e4ffdb9ce44202e2540d2f39a9fcb5
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Sat Dec 25 11:43:11 2021 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Sat Dec 25 13:56:09 2021 +0100

    uninitialised field in comphelper::WeakComponentImplHelperBase
    
    Change-Id: I7ab702c0dd61231b334aac647e87233095cc69e0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127450
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/include/comphelper/compbase.hxx b/include/comphelper/compbase.hxx
index 6cd969386034..9a8ea3bb6a24 100644
--- a/include/comphelper/compbase.hxx
+++ b/include/comphelper/compbase.hxx
@@ -47,7 +47,7 @@ public:
 protected:
     comphelper::OInterfaceContainerHelper4<css::lang::XEventListener> 
maEventListeners;
     mutable std::mutex m_aMutex;
-    bool m_bDisposed;
+    bool m_bDisposed = false;
 };
 
 template <typename... Ifc>

Reply via email to