Use cppu::BaseMutex instead of plain osl::Mutex as base
Change-Id: Ica3cccc21ea051c8eb653bb3160a0011c9680f38
This commit is contained in:
@@ -97,7 +97,7 @@ typedef cppu::WeakComponentImplHelper6<
|
|||||||
css::task::XInteractionHandler ,
|
css::task::XInteractionHandler ,
|
||||||
css::frame::XUntitledNumbers > Desktop_BASE;
|
css::frame::XUntitledNumbers > Desktop_BASE;
|
||||||
|
|
||||||
class Desktop : private osl::Mutex,
|
class Desktop : private cppu::BaseMutex,
|
||||||
private ThreadHelpBase,
|
private ThreadHelpBase,
|
||||||
private TransactionBase,
|
private TransactionBase,
|
||||||
public Desktop_BASE,
|
public Desktop_BASE,
|
||||||
|
@@ -156,7 +156,7 @@ void Desktop::constructorInit()
|
|||||||
Desktop::Desktop( const css::uno::Reference< css::uno::XComponentContext >& xContext )
|
Desktop::Desktop( const css::uno::Reference< css::uno::XComponentContext >& xContext )
|
||||||
: ThreadHelpBase ( &Application::GetSolarMutex() )
|
: ThreadHelpBase ( &Application::GetSolarMutex() )
|
||||||
, TransactionBase ( )
|
, TransactionBase ( )
|
||||||
, Desktop_BASE ( *static_cast<osl::Mutex *>(this) )
|
, Desktop_BASE ( m_aMutex )
|
||||||
, cppu::OPropertySetHelper( cppu::WeakComponentImplHelperBase::rBHelper )
|
, cppu::OPropertySetHelper( cppu::WeakComponentImplHelperBase::rBHelper )
|
||||||
// Init member
|
// Init member
|
||||||
, m_bIsTerminated ( sal_False ) // see dispose() for further information!
|
, m_bIsTerminated ( sal_False ) // see dispose() for further information!
|
||||||
|
Reference in New Issue
Block a user