Kaydet (Commit) a5c0d79c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

embeddedobj: simplify deprecated XTypeProvider.getImplementationId

Change-Id: I977e4af1cd4a2c960aee0b7d1058041fd31608d5
üst 447e910c
......@@ -446,19 +446,7 @@ uno::Sequence< uno::Type > SAL_CALL OCommonEmbeddedObject::getTypes()
uno::Sequence< sal_Int8 > SAL_CALL OCommonEmbeddedObject::getImplementationId()
throw( uno::RuntimeException )
{
static ::cppu::OImplementationId* pID = NULL ;
if ( !pID )
{
::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ) ;
if ( !pID )
{
static ::cppu::OImplementationId aID( false ) ;
pID = &aID ;
}
}
return pID->getImplementationId() ;
return css::uno::Sequence<sal_Int8>();
}
......
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