Kaydet (Commit) 62da1fde authored tarafından Caolán McNamara's avatar Caolán McNamara

pvs-studio: V670 The uninitialized class member 'm_aMutex' is used

Change-Id: I7ac2662afe77e6e9170b004b335635f97ae03692
Reviewed-on: https://gerrit.libreoffice.org/62184
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst b1faaf73
......@@ -38,6 +38,7 @@
#include <com/sun/star/inspection/XPropertyHandler.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <osl/interlck.h>
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/implbase1.hxx>
#include <comphelper/uno3.hxx>
......@@ -69,7 +70,8 @@ namespace pcr
> PropertyHandler_Base;
/** the base class for property handlers
*/
class PropertyHandler : public PropertyHandler_Base
class PropertyHandler : public ::cppu::BaseMutex
, public PropertyHandler_Base
{
private:
/// cache for getSupportedProperties
......@@ -82,7 +84,6 @@ namespace pcr
PropertyChangeListeners m_aPropertyListeners;
protected:
mutable ::osl::Mutex m_aMutex;
/// the context in which the instance was created
css::uno::Reference< css::uno::XComponentContext > m_xContext;
/// the component we're inspecting
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment