From d2aba93a9792a35602d3cc72bda5146018f3a6d5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 10 Mar 2014 11:08:08 +0100 Subject: basctl: simplify deprecated XTypeProvider.getImplementationId Change-Id: I422ec5b0ad485d1f74191d4bf713367aeb7a0a3d --- basctl/source/basicide/basidectrlr.cxx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'basctl') diff --git a/basctl/source/basicide/basidectrlr.cxx b/basctl/source/basicide/basidectrlr.cxx index 12bf5ae5856c..1ed82b460f0c 100644 --- a/basctl/source/basicide/basidectrlr.cxx +++ b/basctl/source/basicide/basidectrlr.cxx @@ -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) { - static ::cppu::OImplementationId * pId = 0; - if ( !pId ) - { - ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); - if ( !pId ) - { - static ::cppu::OImplementationId aId; - pId = &aId; - } - } - return pId->getImplementationId(); + return css::uno::Sequence(); } // XPropertySet -- cgit v1.2.3