Use cppu::BaseMutex instead of framework::ThreadHelpBase
Change-Id: I3e210cee3b6e0956175083ff0b55ff52c060d9c2
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#ifndef INCLUDED_FRAMEWORK_INC_CLASSES_ACTIONTRIGGERPROPERTYSET_HXX
|
||||
#define INCLUDED_FRAMEWORK_INC_CLASSES_ACTIONTRIGGERPROPERTYSET_HXX
|
||||
|
||||
#include <threadhelp/threadhelpbase.hxx>
|
||||
#include <cppuhelper/basemutex.hxx>
|
||||
#include <cppuhelper/propshlp.hxx>
|
||||
#include <cppuhelper/weak.hxx>
|
||||
#include <osl/mutex.hxx>
|
||||
@@ -38,7 +38,7 @@
|
||||
namespace framework
|
||||
{
|
||||
|
||||
class ActionTriggerPropertySet : public ThreadHelpBase , // Struct for right initalization of mutex member! Must be first of baseclasses.
|
||||
class ActionTriggerPropertySet : private cppu::BaseMutex,
|
||||
public ::com::sun::star::lang::XServiceInfo ,
|
||||
public ::com::sun::star::lang::XTypeProvider,
|
||||
public ::cppu::OBroadcastHelper ,
|
||||
|
@@ -19,6 +19,7 @@
|
||||
|
||||
|
||||
#include <classes/actiontriggerpropertyset.hxx>
|
||||
#include <threadhelp/lockhelper.hxx>
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <cppuhelper/proptypehlp.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
@@ -53,8 +54,7 @@ namespace framework
|
||||
{
|
||||
|
||||
ActionTriggerPropertySet::ActionTriggerPropertySet()
|
||||
: ThreadHelpBase ( &Application::GetSolarMutex() )
|
||||
, OBroadcastHelper ( m_aLock.getShareableOslMutex() )
|
||||
: OBroadcastHelper ( m_aMutex )
|
||||
, OPropertySetHelper ( *(static_cast< OBroadcastHelper * >(this)))
|
||||
, OWeakObject ()
|
||||
, m_xBitmap ( 0 )
|
||||
|
Reference in New Issue
Block a user