Use cppu::BaseMutex instead of framework::ThreadHelpBase

Change-Id: I3e210cee3b6e0956175083ff0b55ff52c060d9c2
This commit is contained in:
Stephan Bergmann
2014-03-18 12:35:15 +01:00
parent 1ae379f6bd
commit bff533248d
2 changed files with 4 additions and 4 deletions

View File

@@ -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 ,

View File

@@ -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 )