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

embedserv: simplify deprecated XTypeProvider.getImplementationId

Change-Id: I383eea6c556005e1547df364b4cf34042b5e3a18
üst a5c0d79c
......@@ -174,17 +174,7 @@ EmbedServer_Impl::getTypes( )
uno::Sequence< sal_Int8 > SAL_CALL EmbedServer_Impl::getImplementationId() throw(uno::RuntimeException)
{
static ::cppu::OImplementationId *pId = 0;
if( ! pId )
{
::osl::MutexGuard guard( ::osl::Mutex::getGlobalMutex() );
if( ! pId )
{
static ::cppu::OImplementationId id( false );
pId = &id;
}
}
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