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

basctl: simplify deprecated XTypeProvider.getImplementationId

Change-Id: I422ec5b0ad485d1f74191d4bf713367aeb7a0a3d
üst 2812c31a
...@@ -90,17 +90,7 @@ Sequence< Type > SAL_CALL Controller::getTypes() throw(RuntimeException, std::ex ...@@ -90,17 +90,7 @@ Sequence< Type > SAL_CALL Controller::getTypes() throw(RuntimeException, std::ex
Sequence< sal_Int8 > SAL_CALL Controller::getImplementationId() throw(RuntimeException, std::exception) Sequence< sal_Int8 > SAL_CALL Controller::getImplementationId() throw(RuntimeException, std::exception)
{ {
static ::cppu::OImplementationId * pId = 0; return css::uno::Sequence<sal_Int8>();
if ( !pId )
{
::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
if ( !pId )
{
static ::cppu::OImplementationId aId;
pId = &aId;
}
}
return pId->getImplementationId();
} }
// XPropertySet // XPropertySet
......
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